feature: add LoadingScreen component
This commit is contained in:
parent
2605ca3e45
commit
a07c724f12
|
@ -0,0 +1,20 @@
|
|||
// @flow
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { TextComponent } from './text';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: ${props => props.theme.colors.background};
|
||||
`;
|
||||
|
||||
export const LoadingScreen = () => (
|
||||
<Wrapper>
|
||||
<TextComponent value='Loading daemon...' />
|
||||
</Wrapper>
|
||||
);
|
Loading…
Reference in New Issue