import { AlertCircle, CheckCircle, Loader2 } from "lucide-react"; type PaymentStatus = "success" | "processing" | "error"; interface PaymentStatusProps { status: PaymentStatus; title: string; message?: string; } export default function PaymentStatus({ status, message, title, }: PaymentStatusProps) { const statusConfig = { error: { bgColor: "bg-red-50", borderColor: "border-red-200", color: "text-red-500", icon: AlertCircle, }, processing: { bgColor: "bg-blue-50", borderColor: "border-blue-200", color: "text-blue-500", icon: Loader2, }, success: { bgColor: "bg-green-50", borderColor: "border-green-200", color: "text-green-500", icon: CheckCircle, }, }; const { icon: Icon, color, bgColor, borderColor } = statusConfig[status]; return (