mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-04 08:40:44 +00:00
1. ModalPortal 2. Icon 3. IconBtn 4. Loading 5. CenteredLoading 6. ClickOutside 7. SearchInput 8. Switch 9. CustomizeAddTool 10. SfCalendar 11. SfFilterCalendar 12. CustomizeSelect 13. CustomizePopover 14. FieldDisplaySettings 15. Formatters 16. remove duplicate codes
21 lines
410 B
JavaScript
21 lines
410 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import classnames from 'classnames';
|
|
import Loading from '../loading';
|
|
|
|
import './index.css';
|
|
|
|
function CenteredLoading(props) {
|
|
return (
|
|
<div className={classnames('sf-centered-loading', props.className)}>
|
|
<Loading />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
CenteredLoading.propTypes = {
|
|
className: PropTypes.string,
|
|
};
|
|
|
|
export default CenteredLoading;
|