import React from 'react'; import { PropTypes } from 'prop-types'; import './style.scss'; const Modal = props => (
{ props.children }
); Modal.propTypes = { isModalOpen: PropTypes.bool, children: PropTypes.shape({}).isRequired, closeModal: PropTypes.func.isRequired, modalOnMobileOnly: PropTypes.bool, }; Modal.defaultProps = { modalOnMobileOnly: false, isModalOpen: false, }; export default Modal;