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

This commit is contained in:
Julien Valverdé
2025-12-31 01:42:38 +01:00
parent 0b636828b3
commit 2ac13c15aa

View File

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