mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 20:37:44 +00:00
22 lines
385 B
Vue
22 lines
385 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes['class']
|
|
}>()
|
|
</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>
|