summaryrefslogtreecommitdiff
path: root/library/base_components.c
diff options
context:
space:
mode:
Diffstat (limited to 'library/base_components.c')
-rw-r--r--library/base_components.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/library/base_components.c b/library/base_components.c
new file mode 100644
index 0000000..fb49d2b
--- /dev/null
+++ b/library/base_components.c
@@ -0,0 +1,21 @@
+#include <utils.h>
+
+typedef struct {
+ String label;
+} Button;
+
+typedef struct {
+ String value;
+} Text;
+
+typedef struct {
+ String value;
+} TextInput;
+
+typedef struct {
+ Node *children
+} ListBox;
+
+typedef struct {
+ Node *children
+} Stack;