import React from "react";

const Modal = ({ children, onClose }) => {
    return (
        <div className="modal-overlay">
            <div className="modal">
                {children}
            </div>
        </div>
    );
};

export default Modal;