import React from 'react'; interface ModalProps { isOpen: boolean; onClose: () => void; onConfirm: () => void; title: string; children: React.ReactNode; } export const Modal: React.FC = ({ isOpen, onClose, onConfirm, title, children }) => { if (!isOpen) return null; return (

{title}

{children}
); };