Line data Source code
1 16 : <template>
2 101 : <div
3 : :class="cn('relative w-full overflow-auto rounded-lg border', className)"
4 : >
5 : <table
6 : class="w-full table-fixed caption-bottom border-separate border-spacing-0 text-sm"
7 : >
8 : <slot />
9 : </table>
10 : </div>
11 : </template>
12 :
13 : <script setup lang="ts">
14 : import type { HTMLAttributes } from 'vue'
15 :
16 : import { cn } from '@comfyorg/tailwind-utils'
17 :
18 : const { class: className } = defineProps<{ class?: HTMLAttributes['class'] }>()
19 : </script>
|