Liferay.Loader.define("portal-workflow-metrics-web@2.0.59/js/shared/components/step-bar/StepBar.es", ['module', 'exports', 'require', 'frontend-js-react-web$react', '../../util/lang.es'], 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"));

    var _lang = require("../../util/lang.es");

    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 StepBar = function StepBar(_ref) {
      var current = _ref.current,
          title = _ref.title,
          total = _ref.total;
      return (/*#__PURE__*/_react.default.createElement("div", {
          className: "step-of-bar"
        }, /*#__PURE__*/_react.default.createElement("small", null, title), /*#__PURE__*/_react.default.createElement("small", null, (0, _lang.sub)(Liferay.Language.get('step-x-of-x'), [current, total])))
      );
    };

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