UNPKG

@wfp/ui

Version:
28 lines (24 loc) 731 B
**TextArea** represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form. [Carbon Design System Usage for text inputs](https://next.carbondesignsystem.com/components/text-input) <!-- ### Usage with react ```js import { TextArea } from '@wfp/ui'; ``` ```js <TextArea className="some-class" id="test2" defaultValue="Default value (defaultValue)" labelText="Text Input label" placeholder="Placeholder text" disabled={false} hideLabel={false} invalid={false} invalidText="A valid value is required" helperText="Optional helper text." onClick={onClick} onChange={onChange} /> ``` -->