diff options
author | Joris | 2025-04-19 12:36:38 +0200 |
---|---|---|
committer | Joris | 2025-04-19 12:38:24 +0200 |
commit | 632eef6424d8dc8d40c2906177892697679e7b85 (patch) | |
tree | 48d9cd60e9e96eab810b5f7bb3c7b1fa79e0438f /src/lib/button.ts | |
parent | 063d8ef9eaf874a941f4459e831057dd0a1b7ddd (diff) |
Add ZIG server
Diffstat (limited to 'src/lib/button.ts')
-rw-r--r-- | src/lib/button.ts | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/lib/button.ts b/src/lib/button.ts deleted file mode 100644 index 794df35..0000000 --- a/src/lib/button.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { h, Children, concatClassName } from 'lib/h' - -export function raw(attrs: object, ...children: Children): Element { - return h('button', - concatClassName(attrs, 'g-Button__Raw'), - ...children - ) -} - -export function text(attrs: object, ...children: Children): Element { - return h('button', - concatClassName(attrs, 'g-Button__Text'), - ...children - ) -} - -export function action(attrs: object, ...children: Children): Element { - return h('button', - concatClassName(attrs, 'g-Button__Action'), - ...children - ) -} - -export function cancel(attrs: object, ...children: Children): Element { - return h('button', - concatClassName(attrs, 'g-Button__Cancel'), - ...children - ) -} |