import { createContext, createElement } from "react";
import { BindingError } from "@contember/binding";
const ReferencesContext = createContext(() => {
  throw new BindingError();
});
const ReferencesProvider = ({ children, getReferencedEntity }) => {
  return /* @__PURE__ */ createElement(ReferencesContext.Provider, {
    value: getReferencedEntity
  }, children);
};
export { ReferencesContext, ReferencesProvider };
//# sourceMappingURL=ReferencesProvider.js.map
