-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: gangan <[email protected]> Co-authored-by: Benjamin Canac <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f4a48f6
commit cee3e12
Showing
4 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<template> | ||
<UAlert | ||
title="Customize Alert Avatar" | ||
description="Insert custom content into the avatar slot!" | ||
:avatar="{ | ||
src: 'https://avatars.githubusercontent.com/u/739984?v=4', | ||
alt: 'Avatar' | ||
}" | ||
> | ||
<template #avatar="{ avatar }"> | ||
<UAvatar | ||
v-bind="avatar" | ||
chip-color="primary" | ||
chip-text="" | ||
chip-position="top-right" | ||
/> | ||
</template> | ||
</UAlert> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<UAlert title="Customize Alert Icon" description="Insert custom content into the icon slot!" icon="i-heroicons-command-line"> | ||
<template #icon="{ icon }"> | ||
<UBadge size="sm"> | ||
<UIcon :name="icon" /> | ||
</UBadge> | ||
</template> | ||
</UAlert> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters