"use client"; import React from "react"; import { m, AnimatePresence, LazyMotion, domAnimation } from "framer-motion"; import { CheckCircle, AlertCircle, X } from "lucide-react"; import { Button } from "./Button"; interface StatusModalProps { isOpen: boolean; onClose: () => void; type: "success" | "error"; title: string; message: string; buttonText: string; } export const StatusModal = ({ isOpen, onClose, type, title, message, buttonText, }: StatusModalProps) => { return ( {isOpen && (
{/* Backdrop */} {/* Modal Content */} {/* Tech Decoration */}
{type === "success" ? ( ) : ( )}

{title}

{message}

{/* Decorative Corners */}
)} ); };