import { type ReactNode } from "react"; type Props = { icon?: ReactNode; title: string; description?: string; action?: ReactNode; }; export function EmptyState({ icon, title, description, action }: Props) { return (
{icon ?
{icon}
: null}

{title}

{description ?

{description}

: null} {action ?
{action}
: null}
); }