import React from 'react'; import { X } from 'lucide-react'; interface ModalProps { isOpen: boolean; onClose: () => void; title: string; children: React.ReactNode; maxWidth?: string; } export const Modal: React.FC = ({ isOpen, onClose, title, children, maxWidth = 'max-w-2xl' }) => { if (!isOpen) return null; return (

{title}

{children}
); };