This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/Authentication/AuthenticationForm.tsx

17 lines
357 B
TypeScript

import classNames from 'clsx'
import { Form, FormProps } 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>
)
}