<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"

const props = defineProps<{
  class?: HTMLAttributes["class"]
}>()
</script>

<template>
  <div :class="cn('my-6 w-full overflow-y-auto', props.class)">
    <table class="w-full">
      <slot />
    </table>
  </div>
</template>
