21 lines
341 B
Vue
21 lines
341 B
Vue
<script setup>
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
class: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<td
|
|
:class="
|
|
cn(
|
|
'p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</td>
|
|
</template>
|