"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const react = require("react");
const reactRouting = require("@contember/react-routing");
const RoutingLink = react.memo(({ onClick, to, parametersResolver, parameters, Component, componentProps, target, ...props }) => {
  const InnerComponent = Component ?? "a";
  return /* @__PURE__ */ jsxRuntime.jsx(reactRouting.RoutingLink, { parameters, parametersResolver, to, children: /* @__PURE__ */ jsxRuntime.jsx(InnerComponent, { target, ...componentProps, ...props }) });
});
RoutingLink.displayName = "RoutingLink";
Object.defineProperty(exports, "RoutingLinkBase", {
  enumerable: true,
  get: () => reactRouting.RoutingLink
});
exports.RoutingLink = RoutingLink;
//# sourceMappingURL=RoutingLink.cjs.map
