import { Trophy, Sparkles, Search } from 'lucide-react'; import Heading from '@/components/ui/Heading'; import Button from '@/components/ui/Button'; import Card from '@/components/ui/Card'; interface EmptyStateProps { title: string; description: string; icon?: React.ElementType; actionIcon?: React.ElementType; actionLabel?: string; onAction?: () => void; children?: React.ReactNode; className?: string; } export function EmptyState({ title, description, icon: Icon = Trophy, actionIcon: ActionIcon = Sparkles, actionLabel, onAction, children, className, }: EmptyStateProps) { return (
{title}

{description}

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