This repository has been archived on 2025-12-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Caramel-CRM-Backup/resources/js/components/ui/table/TableRow.vue
T

18 lines
365 B
Vue
Raw Normal View History

2025-10-20 08:57:51 +02:00
<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-accent data-[state=selected]:bg-muted border-b transition-colors', props.class)"
>
<slot />
</tr>
</template>