Added fwt components
This commit is contained in:
parent
b7409d1c13
commit
b2cbd947c5
30 changed files with 852 additions and 0 deletions
0
fwt/components/Form/Form.sass
Normal file
0
fwt/components/Form/Form.sass
Normal file
16
fwt/components/Form/Form.tsx
Normal file
16
fwt/components/Form/Form.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import './Form.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
children: JSXElement
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<form method="post" enctype="application/x-www-form-urlencoded">
|
||||
{props.children}
|
||||
</form>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue