diff options
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 - ) -} |