2024-11-30 02:19:32 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
import type { HTMLAttributes } from "vue";
|
|
|
|
|
|
2025-03-28 01:16:24 +01:00
|
|
|
const props = defineProps<{
|
|
|
|
|
class?: HTMLAttributes["class"];
|
|
|
|
|
}>();
|
2024-11-30 02:19:32 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2025-04-10 13:55:56 +02:00
|
|
|
<div data-slot="card" :class="cn(
|
2025-04-10 14:48:03 +02:00
|
|
|
'bg-card text-card-foreground flex flex-col gap-6 rounded-md border py-6 shadow-sm',
|
2025-04-10 13:55:56 +02:00
|
|
|
props.class,
|
|
|
|
|
)
|
|
|
|
|
">
|
2025-01-16 21:49:29 +01:00
|
|
|
<slot />
|
2025-03-28 01:16:24 +01:00
|
|
|
</div>
|
2024-11-30 02:19:32 +01:00
|
|
|
</template>
|