bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/loading-screen/component.jsx

18 lines
423 B
React
Raw Normal View History

2017-07-14 22:18:07 +08:00
import React from 'react';
2016-07-29 03:49:16 +08:00
import styles from './styles.scss';
2017-07-14 22:18:07 +08:00
const LoadingScreen = ({ children }) => (
<div className={styles.background}>
<div className={styles.spinner}>
<div className={styles.bounce1} />
<div className={styles.bounce2} />
<div className={styles.bounce3} />
</div>
<div className={styles.message}>
{children}
</div>
</div>
);
2016-07-29 03:49:16 +08:00
export default LoadingScreen;