core/app/components/ui/attachment/AttachmentContent.vue

22 lines
430 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<div
data-slot="attachment-content"
:class="cn(
'leading-tight group-data-[orientation=vertical]/attachment:px-1 max-w-full min-w-0 flex-1',
props.class,
)"
v-bind="props"
>
<slot />
</div>
</template>