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

17 lines
363 B
TypeScript
Raw Normal View History

import classNames from 'classnames'
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>
)
}