import { jsxs, Fragment, jsx } from "react/jsx-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__ */ jsxs(Fragment, { children: [
    /* @__PURE__ */ jsx(SugaredField, { field: props.sourceField }),
    /* @__PURE__ */ jsx(SugaredField, { field: props.derivedField })
  ] }),
  "DerivedFieldLink"
);
export {
  DerivedFieldLink
};
//# sourceMappingURL=DerivedFieldLink.js.map
