import React from 'react'; import PropTypes from 'prop-types'; import Modal from 'react-modal'; import classNames from 'classnames'; import './OHIFModal.styl'; const customStyle = { overlay: { zIndex: 1071, backgroundColor: 'rgb(0, 0, 0, 0.5)', display: 'flex', alignItems: 'center', justifyContent: 'center', }, }; Modal.setAppElement(document.getElementById('root')); const OHIFModal = ({ className, closeButton, shouldCloseOnEsc, isOpen, fullscreen, title, onClose, children, }) => { const renderHeader = () => { return ( title && (