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.
30 lines
610 B
30 lines
610 B
7 years ago
|
import PropTypes from 'prop-types';
|
||
|
import React from 'react';
|
||
|
import Modal from 'Components/Modal/Modal';
|
||
|
import AppUpdatedModalContentConnector from './AppUpdatedModalContentConnector';
|
||
|
|
||
|
function AppUpdatedModal(props) {
|
||
|
const {
|
||
|
isOpen,
|
||
|
onModalClose
|
||
|
} = props;
|
||
|
|
||
|
return (
|
||
|
<Modal
|
||
|
isOpen={isOpen}
|
||
|
onModalClose={onModalClose}
|
||
|
>
|
||
|
<AppUpdatedModalContentConnector
|
||
|
onModalClose={onModalClose}
|
||
|
/>
|
||
|
</Modal>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
AppUpdatedModal.propTypes = {
|
||
|
isOpen: PropTypes.bool.isRequired,
|
||
|
onModalClose: PropTypes.func.isRequired
|
||
|
};
|
||
|
|
||
|
export default AppUpdatedModal;
|