props description was formatted
This commit is contained in:
parent
b6b4df1eb6
commit
bf2cd5e5c3
@ -19,19 +19,19 @@ import Textarea from "@docspace/components/textarea";
|
|||||||
|
|
||||||
### Properties
|
### Properties
|
||||||
|
|
||||||
| Props | Type | Required | Values | Default | Description |
|
| Props | Type | Required | Values | Default | Description |
|
||||||
| ---------------- | :------------: | :------: | :----: | :-----: | -------------------------------------------------------- |
|
| ---------------- | :------------: | :------: | :----: | :-----: | -------------------------------------------------------- |
|
||||||
| `className` | `string` | - | - | - | Class name |
|
| `className` | `string` | - | - | - | Class name |
|
||||||
| `id` | `string` | - | - | - | Used as HTML `id` property |
|
| `id` | `string` | - | - | - | Used as HTML `id` property |
|
||||||
| `isDisabled` | `bool` | - | - | `false` | Indicates that the field cannot be used |
|
| `isDisabled` | `bool` | - | - | `false` | Indicates that the field cannot be used |
|
||||||
| `isReadOnly` | `bool` | - | - | `false` | Indicates that the field is displaying read-only content |
|
| `isReadOnly` | `bool` | - | - | `false` | Indicates that the field is displaying read-only content |
|
||||||
| `hasError` | `bool` | - | - | - | Indicates the input field has an error |
|
| `hasError` | `bool` | - | - | - | Indicates the input field has an error |
|
||||||
| `name` | `string` | - | - | - | Used as HTML `name` property |
|
| `name` | `string` | - | - | - | Used as HTML `name` property |
|
||||||
| `onChange` | `func` | - | - | - | Allow you to handle changing events of component |
|
| `onChange` | `func` | - | - | - | Allow you to handle changing events of component |
|
||||||
| `placeholder` | `string` | - | - | - | Placeholder for Textarea |
|
| `placeholder` | `string` | - | - | - | Placeholder for Textarea |
|
||||||
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|
||||||
| `value` | `string` | - | - | - | Value for Textarea |
|
| `value` | `string` | - | - | - | Value for Textarea |
|
||||||
| `fontSize` | `number` | - | - | 13 | Value for font-size |
|
| `fontSize` | `number` | - | - | 13 | Value for font-size |
|
||||||
| `heightTextArea` | `number` | - | - | - | Value for height text-area |
|
| `heightTextArea` | `number` | - | - | - | Value for height text-area |
|
||||||
| `isJSONField` | `bool` | - | - | `false` | Indicates that the field is displaying JSON object |
|
| `isJSONField` | `bool` | - | - | `false` | Indicates that the field is displaying JSON object |
|
||||||
| `copyInfoText` | `string` | - | - | `Content was copied successfully!` | Indicates the text of toast/informational alarm |
|
| `copyInfoText` | `string` | - | - | `Content was copied successfully!` | Indicates the text of toast/informational alarm |
|
Loading…
Reference in New Issue
Block a user