feat(Alert): add actions slot (#1785)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
John Tanz
2024-05-28 12:29:10 +02:00
committed by GitHub
parent 4f0d00f7a6
commit c8dd71c4f5
2 changed files with 14 additions and 4 deletions

View File

@@ -175,6 +175,12 @@ Use the `#avatar` slot to customize the displayable avatar.
:component-example{component="alert-example-avatar"}
### `actions` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
Use the `#actions` slot to add custom user interaction elements.
:component-example{component="alert-example-actions"}
## Props
:component-props