interface InfoBoxProps { variant: 'info' | 'tip' | 'warning' | 'error' title?: string children: React.ReactNode className?: string } const variants = { info: { bg: 'bg-blue-50', border: 'border-blue-200', icon: '💡', titleColor: 'text-blue-800', textColor: 'text-blue-700', }, tip: { bg: 'bg-green-50', border: 'border-green-200', icon: '✨', titleColor: 'text-green-800', textColor: 'text-green-700', }, warning: { bg: 'bg-amber-50', border: 'border-amber-200', icon: '⚠️', titleColor: 'text-amber-800', textColor: 'text-amber-700', }, error: { bg: 'bg-red-50', border: 'border-red-200', icon: '❌', titleColor: 'text-red-800', textColor: 'text-red-700', }, } export function InfoBox({ variant, title, children, className = '' }: InfoBoxProps) { const style = variants[variant] return (