2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/components/Authentication/AuthenticationForm.tsx
2022-08-31 21:44:33 +02:00

18 lines
400 B
TypeScript

import classNames from 'clsx'
import type { FormProps } from 'react-component-form'
import { Form } from 'react-component-form'
export const AuthenticationForm: React.FC<FormProps> = (props) => {
const { className, children, ...rest } = props
return (
<Form
className={classNames('w-4/6 max-w-xs', className)}
noValidate
{...rest}
>
{children}
</Form>
)
}