import { jsx } from "react/jsx-runtime";
import { memo } from "react";
import { RoutingLink as RoutingLink$1 } from "@contember/react-routing";
import { RoutingLink } from "@contember/react-routing";
const RoutingLink2 = memo(({ onClick, to, parametersResolver, parameters, Component, componentProps, target, ...props }) => {
  const InnerComponent = Component ?? "a";
  return /* @__PURE__ */ jsx(RoutingLink$1, { parameters, parametersResolver, to, children: /* @__PURE__ */ jsx(InnerComponent, { target, ...componentProps, ...props }) });
});
RoutingLink2.displayName = "RoutingLink";
export {
  RoutingLink2 as RoutingLink,
  RoutingLink as RoutingLinkBase
};
//# sourceMappingURL=RoutingLink.js.map
