16 lines
286 B
TypeScript
16 lines
286 B
TypeScript
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>
|
|
</>
|
|
)
|
|
}
|