a0fa66e8f5
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
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>
|
|
)
|
|
}
|