"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var LoadingIndicator_1 = require("./LoadingIndicator");
var styleConstants_1 = require("./styleConstants");
var Wrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  padding-top: 100px;\n  text-align: center;\n  width: 100%;\n"], ["\n  padding-top: 100px;\n  text-align: center;\n  width: 100%;\n"])));
var Message = styled_components_1.default.p(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  color: ", ";\n  font-size: 18px;\n  line-height: 24px;\n  margin: 36px 0 0;\n"], ["\n  color: ", ";\n  font-size: 18px;\n  line-height: 24px;\n  margin: 36px 0 0;\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_0);
exports.LoadingMessage = function (props) {
    var defaultCopy = "Loading";
    return (React.createElement(Wrapper, { className: props.className },
        React.createElement(LoadingIndicator_1.LoadingIndicator, { width: props.width, height: props.height }),
        React.createElement(Message, null, props.children || defaultCopy)));
};
var templateObject_1, templateObject_2;
//# sourceMappingURL=LoadingMessage.js.map