feat: design applications and first api calls
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
This commit is contained in:
16
components/Authentication/AuthenticationForm.tsx
Normal file
16
components/Authentication/AuthenticationForm.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
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>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user