13 lines
417 B
Vue
13 lines
417 B
Vue
<script setup lang="ts">
|
|
import type { CollapsibleContentProps } from 'radix-vue'
|
|
import { CollapsibleContent } from 'radix-vue'
|
|
|
|
const props = defineProps<CollapsibleContentProps>()
|
|
</script>
|
|
|
|
<template>
|
|
<CollapsibleContent v-bind="props" class="overflow-hidden transition-all data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up">
|
|
<slot />
|
|
</CollapsibleContent>
|
|
</template>
|