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

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>
)
}