"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactBinding = require("@contember/react-binding");
const reactRouting = require("@contember/react-routing");
const Link = reactBinding.Component(({ onClick, to, parameters, Component: Component2, componentProps, target, ...props }) => {
  const InnerComponent = Component2 ?? "a";
  return /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactRouting.Link, { parameters, to, children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(InnerComponent, { target, ...componentProps, ...props }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/routing/Link.tsx",
    lineNumber: 17,
    columnNumber: 4
  }, void 0) }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/routing/Link.tsx",
    lineNumber: 16,
    columnNumber: 3
  }, void 0);
});
Link.displayName = "Link";
exports.Link = Link;
//# sourceMappingURL=Link.cjs.map
