docs: update badges

This commit is contained in:
Benjamin Canac
2023-07-30 15:13:44 +02:00
parent e25be118b7
commit 1bc055935e
7 changed files with 11 additions and 11 deletions

View File

@@ -125,7 +125,7 @@ const isOpen = ref(false)
```
::
### Prevent close :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full"}
### Prevent close :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
Use the `prevent-close` prop to disable the outside click alongside the `esc` keyboard shortcut.

View File

@@ -124,7 +124,7 @@ const isOpen = ref(false)
```
::
### Prevent close :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full"}
### Prevent close :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
Use the `prevent-close` prop to disable the outside click alongside the `esc` keyboard shortcut.

View File

@@ -316,7 +316,7 @@ excludedProps:
## Slots
### `title` / `description`
### `title` / `description` :u-badge{label="Edge" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
Use the `#title` and `#description` slots to customize the Notification.