import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { X } from 'lucide-react'; export const Modal = ({ isOpen, onClose, children, title }) => { return ( {isOpen && ( <> {/* Backdrop */} {/* Modal Content */}
{/* Header */}

{title}

{/* Body */}
{children}
)}
); };