You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
690 B
28 lines
690 B
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import AddIndexerModalContentConnector from './AddIndexerModalContentConnector';
|
|
import styles from './AddIndexerModal.css';
|
|
|
|
function AddIndexerModal({ isOpen, onModalClose, ...otherProps }) {
|
|
return (
|
|
<Modal
|
|
isOpen={isOpen}
|
|
onModalClose={onModalClose}
|
|
className={styles.modal}
|
|
>
|
|
<AddIndexerModalContentConnector
|
|
{...otherProps}
|
|
onModalClose={onModalClose}
|
|
/>
|
|
</Modal>
|
|
);
|
|
}
|
|
|
|
AddIndexerModal.propTypes = {
|
|
isOpen: PropTypes.bool.isRequired,
|
|
onModalClose: PropTypes.func.isRequired
|
|
};
|
|
|
|
export default AddIndexerModal;
|