初始化
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user