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

This commit is contained in:
Julien Valverdé
2025-12-30 13:22:48 +01:00
parent 04eb98bc3f
commit a19746d3ab

View File

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