docs: improve forms cards

This commit is contained in:
Benjamin Canac
2023-05-14 15:04:56 +02:00
parent 37f1a1b5ad
commit c47f5e6a68
4 changed files with 16 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ baseProps:
### Size
Use the `size` prop to change the size of the Input.
Use the `size` prop to change the size of the Textarea.
::component-card
---
@@ -26,6 +26,8 @@ props:
### Placeholder
Use the `placeholder` prop to set a placeholder text.
::component-card
---
baseProps:
@@ -37,7 +39,7 @@ props:
### Appearance
Use the `appearance` prop to change the style of the Input.
Use the `appearance` prop to change the style of the Textarea.
::component-card
---
@@ -51,18 +53,16 @@ props:
### Disabled
Use the `disabled` prop to disable the Input.
Use the `disabled` prop to disable the Textarea.
::component-card
---
baseProps:
name: 'input'
props:
placeholder: 'Search...'
props:
appearance: 'white'
disabled: true
excludedProps:
- placeholder
---
::