a / web /src /components /ui /table /TableHeader.vue
PNRxA
implement dashboard layout and additional tests
2c8ae4e
Raw History Blame Contribute Delete
316 Bytes
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<thead
data-slot="table-header"
:class="cn('[&_tr]:border-b', props.class)"
>
<slot />
</thead>
</template>