import type { LucideIcon } from "lucide-react"; import type { ReactNode } from "react"; interface EmptyStateProps { icon: LucideIcon; title: string; description: string; action?: ReactNode; /** Optional custom illustration, overrides the default icon when provided. */ illustration?: ReactNode; } export function EmptyState({ icon: Icon, title, description, action, illustration, }: EmptyStateProps) { return (
{description}
{action &&