import type { ReactNode } from "react"; interface EmptyStateProps { icon?: ReactNode; title: string; detail?: string; action?: { label: string; onClick: () => void; }; testId?: string; } export function EmptyState({ icon, title, detail, action, testId }: EmptyStateProps) { return (
{title}
{detail &&{detail}
} {action && ( )}