import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
import { Component, useDerivedField, SugaredField } from "@contember/react-binding";
const DerivedFieldLink = Component(
  (props) => {
    useDerivedField(props.sourceField, props.derivedField, props.transform, props.agent);
    return null;
  },
  (props) => /* @__PURE__ */ jsxDEV(Fragment, { children: [
    /* @__PURE__ */ jsxDEV(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__ */ jsxDEV(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"
);
export {
  DerivedFieldLink
};
//# sourceMappingURL=DerivedFieldLink.js.map
