|
|
|
|
@ -53,6 +53,7 @@ export type UIValue =
|
|
|
|
|
| { kind: 'column', children: UIValue[], gap: number }
|
|
|
|
|
| { kind: 'clickable', child: UIValue, event: Value }
|
|
|
|
|
| { kind: 'padding', child: UIValue, amount: number }
|
|
|
|
|
| { kind: 'opacity', child: UIValue, opacity: number }
|
|
|
|
|
| { kind: 'stack', children: UIValue[] }
|
|
|
|
|
| { kind: 'text-input', value: string, placeholder: string, x: number, y: number, w: number, h: number, focused: boolean, onInput: Value, onSubmit: Value }
|
|
|
|
|
|
|
|
|
|
|