bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/loading-screen/component.jsx
2022-02-15 14:55:08 +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;