UNPKG

terra-form

Version:
8 lines 626 B
## Textarea Props Table | Prop Name | Type | Is Required | Default Value | Description | |-|-|-|-|-| | defaultValue| `string`| optional| `undefined`| The defaultValue of the textarea. Use this to create an uncontrolled textarea.| | name| `string`| optional| `null`| Name of the input.| | onChange| `func`| optional| `undefined`| Function to trigger when user changes the textarea value. Provide a function to create a controlled input.| | required| `bool`| optional| `false`| Whether the input is required or not.| | value| `string`| optional| `undefined`| The value of the textarea. Use this to create a controlled textarea.|