Spaces:
Paused
Paused
File size: 367 Bytes
2c8ae4e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<tr
data-slot="table-row"
:class="cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors', props.class)"
>
<slot />
</tr>
</template>
|