"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Loader = void 0;

var _react = _interopRequireDefault(require("react"));

var _components = require("@looker/components");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Loader = _ref => {
  var {
    themeOverrides,
    message = 'Loading API Specifications'
  } = _ref;
  return _react.default.createElement(_components.ComponentsProvider, themeOverrides, _react.default.createElement(_components.Flex, {
    flexDirection: "column",
    justifyContent: "center",
    mt: "25%"
  }, _react.default.createElement(_components.FlexItem, {
    alignSelf: "center"
  }, _react.default.createElement(_components.ProgressCircular, {
    size: "large"
  })), _react.default.createElement(_components.FlexItem, {
    mt: "large",
    alignSelf: "center"
  }, _react.default.createElement(_components.Heading, {
    color: "key",
    as: "h2"
  }, message))));
};

exports.Loader = Loader;
//# sourceMappingURL=Loader.js.map