import type { ReactNode } from 'react'; interface Props { icon: ReactNode; title: string; description: string; action?: { label: string; onClick: () => void }; } // Reusable empty-state placeholder: large icon + heading + description + // optional primary CTA. Used everywhere there's a meaningfully-empty list // (no chats, no friends, no search results, fresh conversation). export function EmptyState({ icon, title, description, action }: Props) { return (
{icon}

{title}

{description}

{action && ( )}
); }