mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 03:38:54 +01:00
docs: update badges
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user