import { type ReactNode, type HTMLAttributes } from "react"; import { Button } from "./Button"; interface EmptyStateProps extends HTMLAttributes { icon?: ReactNode; title: string; description?: string; action?: { label: string; onClick: () => void; variant?: "primary" | "secondary" | "ghost"; }; secondaryAction?: { label: string; onClick: () => void; }; } export function EmptyState({ icon, title, description, action, secondaryAction, className = "", ...props }: EmptyStateProps) { return (
{icon && ( )}

{title}

{description &&

{description}

} {(action || secondaryAction) && (
{action && ( )} {secondaryAction && ( )}
)}
); }