Liferay.Loader.define("questions-web@1.0.58/js/components/Link.es", ['module', 'exports', 'require', 'frontend-js-react-web$react', 'questions-web$react-router-dom', '../utils/utils.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 _reactRouterDom = require("questions-web$react-router-dom");

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

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

    function _extends() {
      _extends = Object.assign || function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }return target;
      };return _extends.apply(this, arguments);
    }

    var _default = function _default(props) {
      return _react["default"].createElement(_reactRouterDom.Link, _extends({}, props, {
        to: (0, _utils.stringToSlug)(props.to)
      }));
    };

    exports["default"] = _default;
    //# sourceMappingURL=Link.es.js.map
  }
});
//# sourceMappingURL=Link.es.js.map