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

@@ -26,6 +26,8 @@ props:
### Placeholder
Use the `placeholder` prop to set a placeholder text.
::component-card
---
baseProps:
@@ -59,15 +61,14 @@ Use the `leading` and `trailing` props to set the icon position or the `leadingI
---
baseProps:
name: 'input'
placeholder: 'Search...'
props:
icon: 'i-heroicons-magnifying-glass-20-solid'
appearance: 'white'
size: 'sm'
trailing: false
placeholder: 'Search...'
excludedProps:
- icon
- placeholder
---
::