import { CircleX, CircleCheck, AlertTriangle, Info } from 'lucide-react'; import React from 'react'; interface MessageBoxProps { status: 'error' | 'info' | 'warning' | 'success' | 'default' | 'done' icon?: React.ReactNode title?: string children: React.ReactNode | React.ReactNode[] className?: string } export function MessageBox({ icon, status, title, children, className }: MessageBoxProps) { let defaultIcon, titleColor, textColor, bgColor; switch (status) { case 'error': { defaultIcon =