feat: added hoverable and striped states

This commit is contained in:
victor
2022-12-13 00:35:25 +04:00
parent ab973f7367
commit f724f2102a
3 changed files with 35 additions and 11 deletions

View File

@@ -1,7 +1,11 @@
<template>
<tr class="bg-white dark:bg-gray-800 [&:not(:last-child)]:border-b [&:not(:last-child)]:dark:border-gray-700">
<tr :class="tableRowClasses">
<slot></slot>
</tr>
</template>
<script lang="ts" setup>
import { useTableRowClasses } from '@/components/Table/composables/tableRowClasses'
const { tableRowClasses } = useTableRowClasses()
</script>