"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 refresh_1 = tslib_1.__importDefault(require("../../../components/icons/refresh"));
const Flex_1 = require("../../../components/Flex");
const twMerge_1 = require("../../../twMerge");
class Waiting extends React.Component {
    render() {
        const { WaitingMessage, ...props } = this.props;
        return (React.createElement(Flex_1.Flex, { flexDirection: "column", ...props, className: (0, twMerge_1.twMerge)(`twa:my-2`, props.className) },
            React.createElement(Flex_1.Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement(refresh_1.default, null)),
            React.createElement(Flex_1.Flex, { flexDirection: "row", justifyContent: "center" },
                React.createElement("h5", null, WaitingMessage))));
    }
}
exports.Waiting = Waiting;
