docs: add missing component slots

This commit is contained in:
Benjamin Canac
2023-08-29 18:03:38 +02:00
parent 791804b2fb
commit 98b3c3550c
6 changed files with 88 additions and 0 deletions

View File

@@ -95,6 +95,24 @@ props:
---
::
## Slots
### `label`
Use the `#label` slot to override the content of the label.
::component-card
---
slots:
label: <span class="italic">Label</span>
baseProps:
name: 'checkbox5'
---
#label
[Label]{.italic}
::
## Props
:component-props