"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactBinding = require("@contember/react-binding");
const DerivedFieldLink = reactBinding.Component(
  (props) => {
    reactBinding.useDerivedField(props.sourceField, props.derivedField, props.transform, props.agent);
    return null;
  },
  (props) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.Fragment, { children: [
    /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactBinding.SugaredField, { field: props.sourceField }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/ui/DerivedFieldLink.tsx",
      lineNumber: 21,
      columnNumber: 4
    }, void 0),
    /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactBinding.SugaredField, { field: props.derivedField }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/ui/DerivedFieldLink.tsx",
      lineNumber: 22,
      columnNumber: 4
    }, void 0)
  ] }, void 0, true, {
    fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/ui/DerivedFieldLink.tsx",
    lineNumber: 20,
    columnNumber: 3
  }, void 0),
  "DerivedFieldLink"
);
exports.DerivedFieldLink = DerivedFieldLink;
//# sourceMappingURL=DerivedFieldLink.cjs.map
