Files
leim-tools/components/ui/table/TableFooter.vue
2025-04-16 12:00:38 +02:00

15 lines
320 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<tfoot :class="cn('border-t bg-muted/50 font-medium last:[&>tr]:border-b-0', props.class)">
<slot />
</tfoot>
</template>