diff --git a/fwt/components/Button/Button.tsx b/fwt/components/Button/Button.tsx index 61b7e7a..5238044 100644 --- a/fwt/components/Button/Button.tsx +++ b/fwt/components/Button/Button.tsx @@ -7,6 +7,7 @@ interface Props { onClick?: () => void edges?: 'curved' | 'rounded' | 'flat' design?: 'bu-primary' | 'bu-link' | 'bu-info' | 'bu-success' | 'bu-warning' | 'bu-danger' | 'bu-dark' | 'bu-light' | 'bu-text' | 'bu-ghost' | 'bo-primary' | 'bo-secondary' | 'bo-success' | 'bo-danger' | 'bo-warning' | 'bo-info' | 'bo-light' | 'bo-dark' | 'bo-link' + submit?: boolean } const getBorderRadius = (edge: Props['edges']) => { @@ -49,14 +50,30 @@ export default (props: Props) => { - + + + + + + + - + + + + + + + diff --git a/fwt/components/Form/Form.tsx b/fwt/components/Form/Form.tsx index 8f9f706..9436017 100644 --- a/fwt/components/Form/Form.tsx +++ b/fwt/components/Form/Form.tsx @@ -1,6 +1,6 @@ import './Form.sass' import type { JSXElement } from 'solid-js' -import Submit from '../Submit/Submit' +import Button from '../Button/Button' interface Props { children: JSXElement @@ -13,7 +13,7 @@ export default (props: Props) => { <>
{props.children} - +
- - - - - - - - - - - - - - - - - - - - - - ) -}