feat(Tabs): handle avatar

This commit is contained in:
Benjamin Canac
2024-04-09 18:19:17 +02:00
parent d43c29b4df
commit bf0a04eb8b
3 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
<script setup lang="ts">
const items = [{
label: 'Tab1',
icon: 'i-heroicons-home',
avatar: {
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
},
content: 'This is the content shown for Tab1'
}, {
label: 'Tab2',