docs(tabs): update

This commit is contained in:
Benjamin Canac
2024-07-22 16:32:06 +02:00
parent d6950d3df8
commit ec0f599565
4 changed files with 173 additions and 17 deletions

View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
const items = [
{
label: 'Account',
icon: 'i-heroicons-user'
},
{
label: 'Password',
icon: 'i-heroicons-lock-closed'
}
]
</script>
<template>
<UTabs :items="items">
<template #content="{ item }">
<p>This is the {{ item.label }} tab.</p>
</template>
</UTabs>
</template>