Files
react-godot-renderer/packages/example/src/TestUi1.ts
Julien Valverdé f245b61ab3
Some checks failed
Lint / lint (push) Failing after 10s
Handle React cleanup
2026-01-02 00:43:28 +01:00

12 lines
339 B
TypeScript

import { Control } from "godot"
import { Renderer } from "react-godot-renderer"
import { TestUi1Component } from "./TestUi1Component"
export default class TestUi1 extends Control {
// Called when the node enters the scene tree for the first time.
_ready(): void {
Renderer.renderComponent(this, TestUi1Component)
}
}