This commit is contained in:
2024-09-28 19:29:01 +02:00
parent 90f106f127
commit 8592b1cc50
12 changed files with 222 additions and 47 deletions
+7 -3
View File
@@ -11,8 +11,12 @@ import (
)
func main() {
components := osui.NewRender()
components.Add(ui.Text("Hello, World!"))
components.Render()
app := ui.Div(
ui.Text("Hello, World!")
)
screen := osui.NewScreen(app)
screen.Run()
}
```