'use client'; import { Icon, type IconName } from '../../icons'; export function EmptyState({ icon, title, subtitle, action, }: { icon?: IconName; title: string; subtitle?: string; action?: { label: string; onClick: () => void }; }) { return (
{icon ? ( ) : null}
{title}
{subtitle ?
{subtitle}
: null} {action ? ( ) : null}
); }