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