first commit
This commit is contained in:
25
resources/js/views/demos/components/badge/DemoBadgeIcon.vue
Normal file
25
resources/js/views/demos/components/badge/DemoBadgeIcon.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<script setup>
|
||||
import avatar1 from '@images/avatars/avatar-1.png'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="demo-space-x">
|
||||
<!-- avatar -->
|
||||
<VBadge>
|
||||
<template #badge>
|
||||
<VIcon icon="ri-error-warning-line" />
|
||||
</template>
|
||||
|
||||
<VAvatar>
|
||||
<VImg :src="avatar1" />
|
||||
</VAvatar>
|
||||
</VBadge>
|
||||
|
||||
<!-- icon -->
|
||||
<VBadge icon="ri-lock-unlock-line">
|
||||
<VAvatar>
|
||||
<VImg :src="avatar1" />
|
||||
</VAvatar>
|
||||
</VBadge>
|
||||
</div>
|
||||
</template>
|
Reference in New Issue
Block a user