Liferay.Loader.define("portal-workflow-metrics-web@2.0.46/js/shared/components/loading/LoadingState.es", ['module', 'exports', 'require', 'frontend-js-react-web$react'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = void 0;

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

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

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * The contents of this file are subject to the terms of the Liferay Enterprise
     * Subscription License ("License"). You may not use this file except in
     * compliance with the License. You can obtain a copy of the License by
     * contacting Liferay, Inc. See the License for the specific language governing
     * permissions and limitations under the License, including but not limited to
     * distribution rights of the Software.
     */
    var LoadingState = function LoadingState(_ref) {
      var _ref$className = _ref.className,
          className = _ref$className === void 0 ? 'border-1 pb-6 pt-6 sheet' : _ref$className,
          message = _ref.message,
          _ref$messageClassName = _ref.messageClassName,
          messageClassName = _ref$messageClassName === void 0 ? '' : _ref$messageClassName;
      return (/*#__PURE__*/_react.default.createElement("div", {
          className: className
        }, /*#__PURE__*/_react.default.createElement("span", {
          "aria-hidden": "true",
          className: "loading-animation"
        }), message && /*#__PURE__*/_react.default.createElement("span", {
          className: "text-center text-truncate ".concat(messageClassName)
        }, message))
      );
    };

    var _default = LoadingState;
    exports.default = _default;
    //# sourceMappingURL=LoadingState.es.js.map
  }
});
//# sourceMappingURL=LoadingState.es.js.map