docs: lots of improvements

This commit is contained in:
Benjamin Canac
2023-05-13 23:22:07 +02:00
parent 0c2a5d98cf
commit 37f1a1b5ad
18 changed files with 605 additions and 60 deletions

View File

@@ -11,6 +11,61 @@ baseProps:
---
::
### Size
Use the `size` prop to change the size of the Input.
::component-card
---
baseProps:
name: 'textarea'
props:
size: 'sm'
---
::
### Placeholder
::component-card
---
baseProps:
name: 'textarea'
props:
placeholder: 'Search...'
---
::
### Appearance
Use the `appearance` prop to change the style of the Input.
::component-card
---
baseProps:
name: 'textarea'
placeholder: 'Search...'
props:
appearance: 'white'
---
::
### Disabled
Use the `disabled` prop to disable the Input.
::component-card
---
baseProps:
name: 'input'
props:
placeholder: 'Search...'
appearance: 'white'
disabled: true
excludedProps:
- placeholder
---
::
## Props
:component-props