import { jsxDEV } from "react/jsx-dev-runtime";
import { createContext } from "react";
import { BindingError } from "@contember/react-binding";
const ReferencesContext = createContext(() => {
  throw new BindingError();
});
const ReferencesProvider = ({ children, getReferencedEntity }) => {
  return /* @__PURE__ */ jsxDEV(ReferencesContext.Provider, { value: getReferencedEntity, children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/richText/blockEditor/references/ReferencesProvider.tsx",
    lineNumber: 17,
    columnNumber: 3
  }, void 0);
};
export {
  ReferencesContext,
  ReferencesProvider
};
//# sourceMappingURL=ReferencesProvider.js.map
