docs(SelectMenu): add missing New badge on empty slot

This commit is contained in:
Benjamin Canac
2023-12-12 18:19:44 +01:00
parent 0546c7922c
commit 66a80c7486

View File

@@ -232,7 +232,7 @@ Use the `#option-create` slot to customize the content displayed when the `creat
An example is available in the [Create option](#create-option) section.
::
### `empty`
### `empty` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
Use the `#empty` slot to customize the content displayed when there is no options. Defaults to `No options.`.