mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
Wiki mode optimized (#2442)
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
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 = () => {
|
||||
@@ -19,4 +25,6 @@ class ZipDownloadDialog extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
ZipDownloadDialog.propTypes = propTypes;
|
||||
|
||||
export default ZipDownloadDialog;
|
||||
|
Reference in New Issue
Block a user