"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-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__ */ jsxDevRuntime.jsxDEV(reactRouting.RoutingLink, { parameters, parametersResolver, to, children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(InnerComponent, { target, ...componentProps, ...props }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/routing/RoutingLink.tsx",
    lineNumber: 16,
    columnNumber: 4
  }, void 0) }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/routing/RoutingLink.tsx",
    lineNumber: 15,
    columnNumber: 3
  }, void 0);
});
RoutingLink.displayName = "RoutingLink";
Object.defineProperty(exports, "RoutingLinkBase", {
  enumerable: true,
  get: () => reactRouting.RoutingLink
});
exports.RoutingLink = RoutingLink;
//# sourceMappingURL=RoutingLink.cjs.map
