mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 05:58:07 +01:00
chore(playground): compodium setup
This commit is contained in:
13
playground/compodium/examples/UButton/UButtonExampleIcon.vue
Normal file
13
playground/compodium/examples/UButton/UButtonExampleIcon.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
extendCompodiumMeta({
|
||||
combo: ['size', 'variant'],
|
||||
defaultProps: {
|
||||
label: 'Click me!',
|
||||
icon: 'i-lucide-rocket'
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UButton />
|
||||
</template>
|
||||
Reference in New Issue
Block a user