mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-06 01:23:56 +00:00
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;
|