scratch-www/src/components/modal/join/modal.jsx

29 lines
616 B
React
Raw Normal View History

const PropTypes = require('prop-types');
const React = require('react');
const Modal = require('../base/modal.jsx');
require('./modal.scss');
const JoinModal = ({
isOpen,
onCompleteRegistration, // eslint-disable-line no-unused-vars
onRequestClose,
...modalProps
}) => (
<Modal
useStandardSizes
className="mod-join"
isOpen={isOpen}
onRequestClose={onRequestClose}
{...modalProps}
/>
);
JoinModal.propTypes = {
isOpen: PropTypes.bool,
onCompleteRegistration: PropTypes.func,
onRequestClose: PropTypes.func
};
module.exports = JoinModal;