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