mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
10 lines
283 B
Vue
10 lines
283 B
Vue
<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>
|