mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(Collapsible): new component
This commit is contained in:
@@ -5,7 +5,7 @@ useHead({
|
||||
}
|
||||
})
|
||||
|
||||
const components = ['button', 'tooltip']
|
||||
const components = ['button', 'collapsible', 'tooltip']
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
11
playground/pages/collapsible.vue
Normal file
11
playground/pages/collapsible.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="flex gap-1.5">
|
||||
<UCollapsible>
|
||||
<UButton label="Open" />
|
||||
|
||||
<template #content>
|
||||
<div class="bg-red-500 h-12" />
|
||||
</template>
|
||||
</UCollapsible>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user