1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

Wiki optimized third (#2406)

This commit is contained in:
shanshuirenjia
2018-09-29 15:47:53 +08:00
committed by Daniel Pan
parent 5cffd4cb69
commit 3ab4cbff4f
22 changed files with 612 additions and 107 deletions

View File

@@ -0,0 +1,22 @@
import React from 'react'
import { Modal, ModalHeader, ModalBody } from 'reactstrap';
class ZipDownloadDialog extends React.Component {
toggle = () => {
this.props.onCancelDownload();
}
render() {
return (
<Modal isOpen={true} toggle={this.toggle}>
<ModalHeader toggle={this.toggle}></ModalHeader>
<ModalBody>
<div>{this.props.progress}</div>
</ModalBody>
</Modal>
)
}
}
export default ZipDownloadDialog;