umami/components/common/Loading.js

21 lines
391 B
JavaScript
Raw Normal View History

import React from 'react';
2021-02-16 13:11:49 +01:00
import PropTypes from 'prop-types';
import classNames from 'classnames';
import styles from './Loading.module.css';
2021-02-16 13:11:49 +01:00
function Loading({ className }) {
return (
<div className={classNames(styles.loading, className)}>
<div />
<div />
<div />
</div>
);
}
2021-02-16 13:11:49 +01:00
Loading.propTypes = {
className: PropTypes.string,
};
export default Loading;