"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Waiting = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const rebass_1 = require("rebass");
const refresh_1 = tslib_1.__importDefault(require("../../../components/icons/refresh"));
class Waiting extends React.Component {
    render() {
        const { WaitingMessage, ...props } = this.props;
        return (React.createElement(rebass_1.Flex, { flexDirection: "column", marginTop: 2, marginBottom: 2, ...props },
            React.createElement(rebass_1.Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement(refresh_1.default, null)),
            React.createElement(rebass_1.Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement("h5", null, WaitingMessage))));
    }
}
exports.Waiting = Waiting;
