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

18 lines
380 B
React
Raw Normal View History

2017-07-14 22:18:07 +08:00
import React from 'react';
2021-10-29 01:58:04 +08:00
import Styled from './styles';
2016-07-29 03:49:16 +08:00
2017-07-14 22:18:07 +08:00
const LoadingScreen = ({ children }) => (
2021-10-29 01:58:04 +08:00
<Styled.Background>
<Styled.Spinner animations>
<Styled.Bounce1 animations />
<Styled.Bounce2 animations />
2018-12-10 09:08:16 +08:00
<div />
2021-10-29 01:58:04 +08:00
</Styled.Spinner>
<Styled.Message>
2017-07-14 22:18:07 +08:00
{children}
2021-10-29 01:58:04 +08:00
</Styled.Message>
</Styled.Background>
2017-07-14 22:18:07 +08:00
);
2016-07-29 03:49:16 +08:00
export default LoadingScreen;