import React from 'react';
import { ComponentsProvider, Flex, FlexItem, Heading, ProgressCircular } from '@looker/components';
export var Loader = _ref => {
  var {
    themeOverrides,
    message = 'Loading API Specifications'
  } = _ref;
  return React.createElement(ComponentsProvider, themeOverrides, React.createElement(Flex, {
    flexDirection: "column",
    justifyContent: "center",
    mt: "25%"
  }, React.createElement(FlexItem, {
    alignSelf: "center"
  }, React.createElement(ProgressCircular, {
    size: "large"
  })), React.createElement(FlexItem, {
    mt: "large",
    alignSelf: "center"
  }, React.createElement(Heading, {
    color: "key",
    as: "h2"
  }, message))));
};
//# sourceMappingURL=Loader.js.map