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