22 lines
355 B
Vue
22 lines
355 B
Vue
<script setup>
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
class: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="item-content"
|
|
:class="
|
|
cn(
|
|
'flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|