Spaces:
Paused
Paused
File size: 401 Bytes
2c8ae4e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<div data-slot="table-container" class="relative w-full overflow-auto">
<table data-slot="table" :class="cn('w-full caption-bottom text-sm', props.class)">
<slot />
</table>
</div>
</template>
|