Liferay.Loader.define("item-selector-taglib@4.2.11/item_selector_preview/js/Footer.es", ['module', 'exports', 'require', 'frontend-js-react-web$prop-types', 'frontend-js-react-web$react', '../../utils/utils.es'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = void 0;

    var _propTypes = _interopRequireDefault(require("frontend-js-react-web$prop-types"));

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

    var _utils = require("../../utils/utils.es");

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

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * This library is free software; you can redistribute it and/or modify it under
     * the terms of the GNU Lesser General Public License as published by the Free
     * Software Foundation; either version 2.1 of the License, or (at your option)
     * any later version.
     *
     * This library is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
     * details.
     */
    var Footer = function Footer(_ref) {
      var currentIndex = _ref.currentIndex,
          title = _ref.title,
          totalItems = _ref.totalItems;
      return (/*#__PURE__*/_react.default.createElement("div", {
          className: "footer"
        }, /*#__PURE__*/_react.default.createElement("span", null, title), /*#__PURE__*/_react.default.createElement("div", null, (0, _utils.sub)(Liferay.Language.get('x-of-x'), [currentIndex + 1, totalItems])))
      );
    };

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