mirror of
https://github.com/ZeroCatDev/ClassworksKV.git
synced 2025-10-22 02:03:11 +00:00
22 lines
388 B
Vue
22 lines
388 B
Vue
<script setup>
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
class: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<td
|
|
data-slot="table-cell"
|
|
:class="
|
|
cn(
|
|
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</td>
|
|
</template>
|