init shadcn-vue

This commit is contained in:
pa
2026-01-05 20:16:16 +09:00
committed by Natsumi
parent bb92f6a4b1
commit 356705fc31
66 changed files with 1567 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
<script setup>
import { cn } from '@/lib/utils';
const props = defineProps({
class: { type: null, required: false }
});
</script>
<template>
<th
data-slot="table-head"
:class="
cn(
'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
props.class
)
">
<slot />
</th>
</template>