/** * BoostMedia AI Content Generator Admin - EmptyState Component * * @package BoostMedia_AI * @license GPL-2.0-or-later */ import type { ReactNode } from 'react' import { FileQuestion, Inbox, Search, AlertCircle } from 'lucide-react' import { Button } from './Button' type EmptyStateVariant = 'default' | 'search' | 'error' | 'inbox' interface EmptyStateProps { variant?: EmptyStateVariant title: string description?: string action?: { label: string onClick: () => void } icon?: ReactNode } const variantIcons: Record = { default: , search: , error: , inbox: , } const variantColors: Record = { default: 'text-bc-gray-400', search: 'text-bc-gray-400', error: 'text-bc-error', inbox: 'text-bc-gray-400', } export function EmptyState({ variant = 'default', title, description, action, icon, }: EmptyStateProps) { return (
{icon || variantIcons[variant]}

{title}

{description && (

{description}

)} {action && ( )}
) }