mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-18 01:03:40 +00:00
23 lines
475 B
JavaScript
23 lines
475 B
JavaScript
|
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;
|