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

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

export default Modal;