diff --git a/fwt/components/Form/Form.sass b/fwt/components/Form/Form.sass new file mode 100644 index 0000000..e69de29 diff --git a/fwt/components/Form/Form.tsx b/fwt/components/Form/Form.tsx new file mode 100644 index 0000000..8f9f706 --- /dev/null +++ b/fwt/components/Form/Form.tsx @@ -0,0 +1,20 @@ +import './Form.sass' +import type { JSXElement } from 'solid-js' +import Submit from '../Submit/Submit' + +interface Props { + children: JSXElement + 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' +} + +export default (props: Props) => { + return ( + <> +
+ {props.children} + +
+ + ) +}