import React from 'react'; import PropTypes from 'prop-types'; import { Modal, ModalHeader, ModalBody } from 'reactstrap'; const propTypes = { onCancelDownload: PropTypes.func.isRequired, progress: PropTypes.string.isRequired, }; class ZipDownloadDialog extends React.Component { toggle = () => { this.props.onCancelDownload(); } render() { return (
{this.props.progress}
); } } ZipDownloadDialog.propTypes = propTypes; export default ZipDownloadDialog;