Add Node component
Some checks failed
Lint / lint (push) Failing after 9s

This commit is contained in:
Julien Valverdé
2025-12-29 19:35:31 +01:00
parent fba9ca6193
commit bd31fd5ea4
5 changed files with 36 additions and 7 deletions

View File

@@ -1,3 +1,17 @@
import { Control } from "godot"
import { Node } from "react-godot-renderer"
export function TestUi1Component() {
return <node2D />
return (
<Node
class={Control}
anchor_left={0}
/>
)
}
Node({
class: Control,
})