Textarea
Textarea is the lowest-level textarea component for longer text
Textareas should be accompanied by labels, so rather than using Textarea
directly in a UI, it’s normally best to use a field
component, which combines an Textarea
with a Label
and displays validation errors. If none of the existing field components suit your needs, it might be worth adding a new one.
Edit me!
API Reference
Prop | Type | Default | Required |
---|---|---|---|
state | "error" | - | - |
css | CSSProperties | - | - |