"use client"; /** * EmptyState — FASE-07 UX * * Reusable empty state component for dashboard sections when no data * is available. Provides visual feedback and optional action button. * * Usage: * router.push('/providers/add')} * /> */ interface EmptyStateProps { icon?: string; title?: string; description?: string; actionLabel?: string; onAction?: (() => void) | null; } export default function EmptyState({ icon = "📭", title = "Nothing here yet", description = "", actionLabel = "", onAction = null, }: EmptyStateProps) { return (

{title}

{description && (

{description}

)} {actionLabel && onAction && ( )}
); }