1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-06 01:23:56 +00:00
seahub/frontend/src/components/centered-loading/index.js

21 lines
410 B
JavaScript
Raw Normal View History

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;