Textarea
Retrieve multi-line user input.
Usage
First of all, you need to import the Textarea component from the kitchn package.
import { Textarea } from "kitchn"Default
Disabled
Error
Props
| Name | Type | Default | Required | Description | Accepted values | 
|---|---|---|---|---|---|
placeholder | string | - | - | The placeholder of the textarea. | - | 
disabled | boolean | false | - | The status (disabled or not) of the input. | - | 
errored | boolean | false | - | The type of the textarea. | - | 
defaultValue | string | - | - | The default value of the textarea. | - | 
width | number | string | 100% | - | The width of the textarea. | - | 
height | number | string | auto | - | The height of the textarea. | - | 
resize | string | primary | - | The CSS resize attribute of the textarea. | none, both, horizontal, vertical |