Module: components/FormikTextField

Formik text input field. Uses material ui TextField component. Used inside Formik and Form that are imported form 'formik'.

Parameters:
Name Type Description
props Object
Properties
Name Type Attributes Default Description
label string

Field label

name string

Field name

type "text" | "password"

Text field types that should be used

placeholder string <optional>

Field placeholder value

disabled boolean <optional>

If true text field is disabled

variant "filled" | "outlined" | "standard" <optional>
standard

All available text field styles

Source:
Example
<Formik>
 <Form>
   <FormikTextField label="Email" name="email" type="text" />
 </Form>
</Formik>