import { createElement, Fragment } from "react";
import { Component, useDerivedField, SugaredField } from "@contember/binding";
const DerivedFieldLink = Component((props) => {
  useDerivedField(props.sourceField, props.derivedField, props.transform, props.agent);
  return null;
}, (props) => /* @__PURE__ */ createElement(Fragment, null, /* @__PURE__ */ createElement(SugaredField, {
  field: props.sourceField
}), /* @__PURE__ */ createElement(SugaredField, {
  field: props.derivedField
})), "DerivedFieldLink");
export { DerivedFieldLink };
//# sourceMappingURL=DerivedFieldLink.js.map
