import type { ReactNode } from "react"; import "../styles/components/empty-state.css"; interface EmptyStateProps { icon?: ReactNode; title: string; description?: string; actionLabel?: string; onAction?: () => void; } export function EmptyState({ icon, title, description, actionLabel, onAction }: EmptyStateProps) { return (
{icon || ( )}
{title} {description ?

{description}

: null} {actionLabel && onAction ? ( ) : null}
); }