TextArea
Overview
When to use
t.b.d.
When to consider an alternative
t.b.d.
Component
Default
To use the TextArea
you need to:
- Pass
value
property, with this property it will already be a controlled component; - Pass
onChange
handler, so you can use it to update the value of the input;
States
Properties
Default
Property | Type | Required | Default |
---|---|---|---|
children | Node | false | - |
disabled | Bool | false | - |
error | Bool | false | - |
id | String | false | - |
name | String | false | - |
onChange | Func | false | - |
placeholder | String | false | - |
textAreaRef | Shape {
"current": "Any"
} | false | - |
utilClassNames | String | false | - |
value | String | false | - |