mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore: up
This commit is contained in:
23
playground/compodium/examples/UTabsExample.vue
Normal file
23
playground/compodium/examples/UTabsExample.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<script setup lang="ts">
|
||||
extendCompodiumMeta({
|
||||
defaultProps: {
|
||||
items: [{
|
||||
label: 'Tab 1',
|
||||
avatar: { src: 'https://avatars.githubusercontent.com/u/739984?v=4' },
|
||||
content: 'This is the content shown for Tab 1'
|
||||
}, {
|
||||
label: 'Tab 2',
|
||||
icon: 'i-lucide-user',
|
||||
content: 'And, this is the content for Tab 2'
|
||||
}, {
|
||||
label: 'Tab 3',
|
||||
icon: 'i-lucide-bell',
|
||||
content: 'Finally, this is the content for Tab 3'
|
||||
}]
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UTabs />
|
||||
</template>
|
||||
Reference in New Issue
Block a user