import * as React from 'react';
import { Flex } from 'rebass';
import IconRefresh from '../../../components/icons/refresh';
export class Waiting extends React.Component {
    render() {
        const { WaitingMessage, ...props } = this.props;
        return (React.createElement(Flex, { flexDirection: "column", marginTop: 2, marginBottom: 2, ...props },
            React.createElement(Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement(IconRefresh, null)),
            React.createElement(Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement("h5", null, WaitingMessage))));
    }
}
