import type { ReactNode } from "react"; import { cn } from "#/utils/utils"; type ConversationTabEmptyStateProps = { icon: ReactNode; children: ReactNode; action?: ReactNode; className?: string; }; /** * Shared empty state for right-drawer conversation tabs: small muted icon, * centered caption, optional action (use {@link BrandButton} variant="secondary"). */ export function ConversationTabEmptyState({ icon, children, action, className, }: ConversationTabEmptyStateProps) { return (
{icon}

{children}

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