Dunlin is a lightweight, self-hosted CDN for personal projects.
at master 316 B view raw
1<script setup lang="ts"> 2import type { HTMLAttributes } from 'vue' 3import { cn } from '@/lib/utils' 4 5const props = defineProps<{ 6 class?: HTMLAttributes['class'] 7}>() 8</script> 9 10<template> 11 <thead 12 data-slot="table-header" 13 :class="cn('[&_tr]:border-b', props.class)" 14 > 15 <slot /> 16 </thead> 17</template>