<script setup lang="ts">
import { TableEmpty as ShadcnTableEmpty } from '@/components/core/table';
import type { UiTableEmptyProps } from './types';

defineOptions({
  name: 'UiTableEmpty',
});

const props = withDefaults(defineProps<UiTableEmptyProps>(), {
  colspan: 1,
});
</script>

<template>
  <ShadcnTableEmpty :colspan="props.colspan">
    <slot />
  </ShadcnTableEmpty>
</template>
