mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
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>
20 lines
447 B
Vue
20 lines
447 B
Vue
<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>
|
|
|