API documentation for Textarea component
Defines valid properties in Textarea component.
Defines the methods and properties exposed by Textarea component.
| name | type | default | description |
|---|---|---|---|
| fluid | FluidInstance | null | The Fluid component instance. |
| onInput | () => void | null | Event handler for input events on the textarea. |
Defines passthrough(pt) options of Textarea component.
| name | type | default | description |
|---|---|---|---|
| root | TextareaPassThroughType<InputHTMLAttributes<HTMLInputElement>> | null | Used to pass attributes to the root's DOM element. |
Instance of Textarea component.
| values |
|---|
| ComponentInstance<TextareaProps, TextareaState, TextareaExposes> |
Defines valid properties in useTextarea.
| name | type | default | description |
|---|---|---|---|
| autoResize | boolean | false | When present, height of textarea changes as being typed. |
Defines the methods and properties exposed by useTextarea.
Instance of useTextarea headless.
| values |
|---|
| HeadlessInstance<useTextareaProps, useTextareaState, useTextareaExposes> |