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

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

<template>
  <caption
    data-slot="table-caption"
    :class="cn('body-14-regular text-muted-foreground mt-4', props.class)"
  >
    <slot />
  </caption>
</template>
