mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
import and export sdoc (#6508)
* import and export sdoc * rebase and optimize * update * optimize code * update iconfont * update seafile-js version * update --------- Co-authored-by: 杨顺强 <978987373@qq.com>
This commit is contained in:
23
frontend/src/components/dialog/tip-dailog.js
Normal file
23
frontend/src/components/dialog/tip-dailog.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
import { Loading } from 'dtable-ui-component';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Modal, ModalBody, ModalHeader } from 'reactstrap';
|
||||
|
||||
function TipDialog({ modalTitle, modalTip }) {
|
||||
return (
|
||||
<Modal isOpen={true}>
|
||||
<ModalHeader>{modalTitle}</ModalHeader>
|
||||
<ModalBody className='d-flex flex-column justify-content-center align-terms-center' style={{ height: '180px' }}>
|
||||
<Loading />
|
||||
<div className='d-flex justify-content-center mt-6'>{modalTip}</div>
|
||||
</ModalBody>
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
||||
TipDialog.propTypes = {
|
||||
modalTitle: PropTypes.string.isRequired,
|
||||
modalTip: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
export default TipDialog;
|
Reference in New Issue
Block a user