Files
zeroone/src/components/ui/collapsible/CollapsibleContent.vue
KM 6e4dc5e9db init
Initial mock up of the app
2024-01-22 12:03:56 +01:00

19 lines
477 B
Vue

<script setup>
import { CollapsibleContent } from "radix-vue";
const props = defineProps({
forceMount: { type: Boolean, required: false },
asChild: { type: Boolean, required: false },
as: { type: null, required: false },
});
</script>
<template>
<CollapsibleContent
v-bind="props"
class="overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"
>
<slot />
</CollapsibleContent>
</template>