Textarea
Displays a form textarea or a component that looks like a textarea.
Usage
Variants
Textarea component has 4 variants. Those are default
, error
, success
and warning
. You can use them by passing variant
prop.
With Label and Help Text
Disabled
Form
API Reference
Prop | Type | Default |
---|---|---|
name | string | ─ |
placeholder | string | ─ |
disabled | boolean | ─ |
variant | enum | ─ |
id | string | ─ |
onChange | function() | ─ |
... | ... | ─ |