"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const reactBinding = require("@contember/react-binding");
const identityEnvironmentExtension = reactBinding.Environment.createExtension((state) => {
  if (state === void 0) {
    throw new reactBinding.BindingError("Environment does not contain identity state.");
  }
  return {
    identity: state ?? void 0
  };
});
exports.identityEnvironmentExtension = identityEnvironmentExtension;
//# sourceMappingURL=IdentityEnvironmentExtension.cjs.map
