<TextareaInput>
ComponentA textarea input to be used within Formik forms.
<TextareaInputfield={{ name: 'example', value: 'test', readOnly: true }}form={{ errors: {}, touched: {} }}/>
Name | Description |
---|---|
field* object | Props for the input element, supplied by Formik |
form* object | Form data including error and touched info, supplied by Formik |
label string | Label text, HTML allowed. |
placeholder string | Placeholder text for the field |
className string | Optional className to add to the root element |
theme object | Controls the appearance of the text input. theme.background should be one of ["light", "dark", "brand"]. |