mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
docs(tabs): update
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user