import React from 'react';
import classNames from 'classnames';

const Modal = ({...props}) => {
    return(
        <div id="openModal" className={"modal"}>
            <div className={classNames("modal_dialog ', position)}>
                <div className={classNames('modal_content ', styles)}>
                    <div className="modal_body">
                        {props.children}
                    </div>
                </div>
            </div>
      </div>
    )
}

export default Modal;