'use client' import { HugeiconsIcon } from '@hugeicons/react' import { cn } from '@/lib/utils' type HugeiconDef = React.ComponentProps['icon'] interface EmptyStateProps { icon?: HugeiconDef title: string description?: string action?: React.ReactNode className?: string } /** * Centered empty-state for lists and tables. Soft icon in a ringed circle, * tight title and a muted one-liner underneath. Caller can slot an action button. */ export function EmptyState({ icon, title, description, action, className }: EmptyStateProps) { return (
{icon && (
)}

{title}

{description && (

{description}

)}
{action &&
{action}
}
) }