feat(Alert): add icon & avatar slots (#1401)

Co-authored-by: gangan <44604921+shinGangan@users.noreply.github.com>
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Alex Thorwaldson
2024-03-13 13:49:57 -07:00
committed by GitHub
parent f4a48f6016
commit cee3e126a4
4 changed files with 48 additions and 2 deletions

View File

@@ -163,6 +163,18 @@ This can be handy when you want to display HTML content. To achieve this, you ca
:component-example{component="alert-example-html"}
### `icon`
Use the `#icon` slot to customize the displayed icon.
:component-example{component="alert-example-icon"}
### `avatar`
Use the `#avatar` slot to customize the displayable avatar.
:component-example{component="alert-example-avatar"}
## Props
:component-props