<script lang="ts">
  let {
    message = 'No items.',
    colspan = 999,
    class: className
  }: {
    message?: string
    colspan?: number
    class?: string
  } = $props()
</script>

<tr>
  <td
    {colspan}
    class={['py-8 text-center text-muted-foreground', className].filter(Boolean).join(' ')}
  >
    {message}
  </td>
</tr>
