import { Button } from '@kit/ui/button'; interface EmptyStateProps { icon?: React.ReactNode; title: string; description: string; actionLabel?: string; actionHref?: string; onAction?: () => void; } /** * Reusable empty state with icon + CTA. * Used when DataTables have 0 rows. */ export function EmptyState({ icon, title, description, actionLabel, actionHref, onAction }: EmptyStateProps) { return (
{icon && (
{icon}
)}

{title}

{description}

{actionLabel && (
{actionHref ? ( ) : ( )}
)}
); }