Files
outline/app/components/Empty/Empty.js
2017-10-25 22:49:04 -07:00

22 lines
409 B
JavaScript

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