docs(drawer): update

This commit is contained in:
Benjamin Canac
2024-08-22 16:58:47 +02:00
parent 7b278b041c
commit 5428005512
9 changed files with 262 additions and 19 deletions

View File

@@ -278,10 +278,10 @@ Use the `slot` property to customize a specific item.
You will have access to the following slots:
- `{{ item.slot }}`{lang="ts-type"}
- `{{ item.slot }}-leading`{lang="ts-type"}
- `{{ item.slot }}-label`{lang="ts-type"}
- `{{ item.slot }}-trailing`{lang="ts-type"}
- `#{{ item.slot }}`{lang="ts-type"}
- `#{{ item.slot }}-leading`{lang="ts-type"}
- `#{{ item.slot }}-label`{lang="ts-type"}
- `#{{ item.slot }}-trailing`{lang="ts-type"}
::component-example
---
@@ -291,7 +291,7 @@ class: 'justify-center'
::
::tip{to="#slots"}
You can also use the `item`, `item-leading`, `item-label` and `item-trailing` slots to customize all items.
You can also use the `#item`, `#item-leading`, `#item-label` and `#item-trailing` slots to customize all items.
::
### Extract shortcuts