Files
Memoh/packages/ui/src/components/table/TableHeader.vue
T
2026-01-29 14:59:27 +08:00

18 lines
316 B
Vue

<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>