mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-17 05:28:09 +01:00
76 lines
847 B
Markdown
76 lines
847 B
Markdown
---
|
|
github: true
|
|
---
|
|
|
|
## Usage
|
|
|
|
::component-card
|
|
---
|
|
baseProps:
|
|
name: 'textarea'
|
|
---
|
|
::
|
|
|
|
### Size
|
|
|
|
Use the `size` prop to change the size of the Textarea.
|
|
|
|
::component-card
|
|
---
|
|
baseProps:
|
|
name: 'textarea'
|
|
props:
|
|
size: 'sm'
|
|
---
|
|
::
|
|
|
|
### Placeholder
|
|
|
|
Use the `placeholder` prop to set a placeholder text.
|
|
|
|
::component-card
|
|
---
|
|
baseProps:
|
|
name: 'textarea'
|
|
props:
|
|
placeholder: 'Search...'
|
|
---
|
|
::
|
|
|
|
### Appearance
|
|
|
|
Use the `appearance` prop to change the style of the Textarea.
|
|
|
|
::component-card
|
|
---
|
|
baseProps:
|
|
name: 'textarea'
|
|
placeholder: 'Search...'
|
|
props:
|
|
appearance: 'white'
|
|
---
|
|
::
|
|
|
|
### Disabled
|
|
|
|
Use the `disabled` prop to disable the Textarea.
|
|
|
|
::component-card
|
|
---
|
|
baseProps:
|
|
name: 'input'
|
|
placeholder: 'Search...'
|
|
props:
|
|
appearance: 'white'
|
|
disabled: true
|
|
---
|
|
::
|
|
|
|
## Props
|
|
|
|
:component-props
|
|
|
|
## Preset
|
|
|
|
:component-preset
|