mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 13:17:57 +01:00
docs(accordion): update
This commit is contained in:
@@ -30,7 +30,7 @@ external:
|
|||||||
hide:
|
hide:
|
||||||
- class
|
- class
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
items:
|
items:
|
||||||
- label: 'Colors'
|
- label: 'Colors'
|
||||||
icon: 'i-heroicons-swatch'
|
icon: 'i-heroicons-swatch'
|
||||||
@@ -58,7 +58,7 @@ external:
|
|||||||
hide:
|
hide:
|
||||||
- class
|
- class
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
type: 'multiple'
|
type: 'multiple'
|
||||||
items:
|
items:
|
||||||
- label: 'Colors'
|
- label: 'Colors'
|
||||||
@@ -87,7 +87,7 @@ external:
|
|||||||
hide:
|
hide:
|
||||||
- class
|
- class
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
collapsible: false
|
collapsible: false
|
||||||
items:
|
items:
|
||||||
- label: 'Colors'
|
- label: 'Colors'
|
||||||
@@ -117,7 +117,7 @@ external:
|
|||||||
hide:
|
hide:
|
||||||
- class
|
- class
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
disabled: true
|
disabled: true
|
||||||
items:
|
items:
|
||||||
- label: 'Colors'
|
- label: 'Colors'
|
||||||
@@ -148,7 +148,7 @@ external:
|
|||||||
hide:
|
hide:
|
||||||
- class
|
- class
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
trailingIcon: 'i-heroicons-plus'
|
trailingIcon: 'i-heroicons-plus'
|
||||||
items:
|
items:
|
||||||
- label: 'Colors'
|
- label: 'Colors'
|
||||||
@@ -178,7 +178,7 @@ You can control the active item(s) by using the `default-value` prop or the `v-m
|
|||||||
---
|
---
|
||||||
name: 'accordion-model-value-example'
|
name: 'accordion-model-value-example'
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
---
|
---
|
||||||
::
|
::
|
||||||
|
|
||||||
@@ -194,7 +194,7 @@ Use the `#content` slot to customize the content of each item.
|
|||||||
---
|
---
|
||||||
name: 'accordion-content-slot-example'
|
name: 'accordion-content-slot-example'
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
---
|
---
|
||||||
::
|
::
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ Use the `slot` property to customize a specific item.
|
|||||||
---
|
---
|
||||||
name: 'accordion-custom-slot-example'
|
name: 'accordion-custom-slot-example'
|
||||||
props:
|
props:
|
||||||
class: 'w-full px-4'
|
class: 'px-4'
|
||||||
---
|
---
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user