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