bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/loading-screen/component.jsx
2021-10-28 17:58:04 +00:00

21 lines
519 B
JavaScript

import React from 'react';
import Styled from './styles';
import Settings from '/imports/ui/services/settings';
const { animations } = Settings.application;
const LoadingScreen = ({ children }) => (
<Styled.Background>
<Styled.Spinner animations={animations}>
<Styled.Bounce1 animations={animations} />
<Styled.Bounce2 animations={animations} />
<div />
</Styled.Spinner>
<Styled.Message>
{children}
</Styled.Message>
</Styled.Background>
);
export default LoadingScreen;