This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/app/components/Empty/Empty.js
Tom Moor 434129a434 ThemeProvider (#677)
closes #655
2018-06-09 19:10:30 -07:00

21 lines
387 B
JavaScript

// @flow
import * as React from 'react';
import styled from 'styled-components';
type Props = {
children: string,
};
const Empty = (props: Props) => {
const { children, ...rest } = props;
return <Container {...rest}>{children}</Container>;
};
const Container = styled.div`
display: flex;
color: ${props => props.theme.slate};
text-align: center;
`;
export default Empty;