Interactive interface for browsing global, full-resolution satellite imagery
import PropTypes from 'prop-types';
import { ModalFooter } from 'reactstrap';
import Button from '../util/button';
function Notify(props) {
const { bodyText, cancel, accept } = props;
return (
<>
<div className="notify">
<p>{bodyText}</p>
</div>
<ModalFooter>
<Button className="cancel-notify" text="Cancel" onClick={cancel} />
<Button className="accept-notify" text="OK" onClick={accept} />
</ModalFooter>
</>
);
}
Notify.propTypes = {
accept: PropTypes.func,
bodyText: PropTypes.string,
cancel: PropTypes.func,
};
export default Notify;