import type { ReactNode } from "react";

interface TableEmptyProps {
  emptyState?: ReactNode;
  className?: string;
}

export function TableEmpty({ emptyState, className }: TableEmptyProps) {
  return (
    <div className={className ?? "p-8 text-center text-slate-500"}>
      {emptyState ?? <span>No records available.</span>}
    </div>
  );
}
