Textarea
Textarea is a component that allows users to enter multiple lines of text.
Example
import { Textarea } from '@fluid-design/fluid-ui';const Example = () => { return ( <Form initialValues={{ message: '', }} > <Textarea label='Message' name='message' maxRows={4} /> </Form> );};
Prop | Default | Description |
---|---|---|
name | - | String Input field name |
label | String Input field label, if not provided, the label will be the same as the name | |
placeholder | String Input field placeholder, if label is not provided, this will replace the label field | |
description | String Input field description showing under this field |