Files
EasyFlow/easyflow-ui-usercenter/app/src/components/card/CardContent.vue
2026-02-22 18:56:10 +08:00

21 lines
372 B
Vue

<script setup lang="ts">
import { cn } from '@easyflow/utils';
interface CardContentProps {
class?: string;
}
defineOptions({ name: 'CardContent' });
const props = defineProps<CardContentProps>();
</script>
<template>
<div
:class="
cn('flex w-full flex-col gap-1 overflow-hidden text-nowrap', props.class)
"
>
<slot></slot>
</div>
</template>