add readme
This commit is contained in:
parent
dba48ff012
commit
33a13cb1cc
2 changed files with 66 additions and 3 deletions
11
test/app.ts
11
test/app.ts
|
|
@ -1 +1,10 @@
|
|||
import { Panel } from ".."
|
||||
import { Anchor, Label, Modify } from ".."
|
||||
|
||||
const label = Label({
|
||||
text: "Hello World from my Custom UI!",
|
||||
shadow: true,
|
||||
anchor: Anchor.TOP_MIDDLE,
|
||||
offset: [0, 10],
|
||||
})
|
||||
|
||||
Modify("start", "start_screen_content").insertChild(label)
|
||||
|
|
|
|||
Reference in a new issue