Fix
Some checks failed
Lint / lint (push) Failing after 9s

This commit is contained in:
Julien Valverdé
2025-12-29 23:52:39 +01:00
parent bd31fd5ea4
commit 5dd051ce71
5 changed files with 39 additions and 26 deletions

View File

@@ -1,17 +1,25 @@
import { Control } from "godot"
import { Node } from "react-godot-renderer"
import { Control, Label } from "godot"
import { Component } from "react-godot-renderer"
const ControlFC = Component.make(Control)
const LabelFC = Component.make(Label)
export function TestUi1Component() {
return (
<Node
class={Control}
<ControlFC
name="Root"
anchor_left={0}
/>
anchor_top={0}
anchor_right={0}
anchor_bottom={0}
>
<LabelFC
name="Label"
text="This is a label"
/>
<node2D name="Issou" />
</ControlFC>
)
}
Node({
class: Control,
})