diff --git a/README.md b/README.md index 5f72590..0e3243f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perry-tests +> https://github.com/PerryTS/perry + diff --git a/simple-ui/.perry-cache/objects/host/71f8cf461e1e75d4.o b/simple-ui/.perry-cache/objects/host/71f8cf461e1e75d4.o new file mode 100644 index 0000000..614a9b2 Binary files /dev/null and b/simple-ui/.perry-cache/objects/host/71f8cf461e1e75d4.o differ diff --git a/simple-ui/README.md b/simple-ui/README.md new file mode 100644 index 0000000..d0e5690 --- /dev/null +++ b/simple-ui/README.md @@ -0,0 +1,6 @@ + + +```shell +perry compile main.ts -o main +``` + diff --git a/simple-ui/main.ts b/simple-ui/main.ts new file mode 100644 index 0000000..afd8a4c --- /dev/null +++ b/simple-ui/main.ts @@ -0,0 +1,11 @@ +import{ App, Text, VStack } from "perry/ui"; + +App({ + title:"My App", + width:400, + height:300, + body:VStack(16,[ + Text("Hello from Perry!"), + ]), +}); +