import type { LucideIcon } from "lucide-react"; export interface EmptyStateProps { icon?: LucideIcon; emoji?: string; // سازگاری با استفاده‌های قبلی text: string; } // حالت خالی export function EmptyState({ icon: Icon, emoji, text }: EmptyStateProps) { return (
{Icon ? ( ) : ( emoji &&
{emoji}
)}
{text}
); }