import { Component, useDerivedField, SugaredField } from "@contember/binding";
import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/bindingFacade/ui/DerivedFieldLink.tsx";
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: _jsxFileName,
    lineNumber: 18,
    columnNumber: 4
  }, void 0), /* @__PURE__ */ jsxDEV(SugaredField, {
    field: props.derivedField
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 19,
    columnNumber: 4
  }, void 0)]
}, void 0, true), "DerivedFieldLink");
export {
  DerivedFieldLink
};
//# sourceMappingURL=DerivedFieldLink.js.map
