feature: add LoadingScreen component

This commit is contained in:
George Lima 2018-12-19 12:58:46 -03:00
parent 2605ca3e45
commit a07c724f12
1 changed files with 20 additions and 0 deletions

View File

@ -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>
);