LoginEmailInput
LoginEmailInput is a sub-component of the Login organism.
It is used to allow the user to enter their email.
Basic Usage
import { Login, LoginEmailInput } from '@krakentech/coral-organisms';
import { Formik, Form } from 'formik';
<Login>
<Formik
initialValues={{ email: '' }}
onSubmit={(values) => console.log(values)}
>
<Form method="post" style={{ width: '100%' }}>
<LoginEmailInput label="Email address" />
</Form>
</Formik>
</Login>;Full API
| Name | Type | Default |
|---|---|---|
label | stringThe label for the Email address input | |
inputProps | Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "style"> | undefined |
Last updated on