mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
18 lines
451 B
Vue
18 lines
451 B
Vue
<script setup lang="ts">
|
|
import { cn } from "@/lib/utils";
|
|
import type { HTMLAttributes } from "vue";
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="card-header"
|
|
:class="cn('@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6', props.class)"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|