UNPKG

@scaleway/use-growthbook

Version:

Utility package to expose AB test tool

44 lines (43 loc) 1.47 kB
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const growthbookReact = require("@growthbook/growthbook-react"); const AbTestProvider = require("./AbTestProvider.cjs"); const useAbTestAttributes = require("./useAbTestAttributes.cjs"); Object.defineProperty(exports, "FeatureString", { enumerable: true, get: () => growthbookReact.FeatureString }); Object.defineProperty(exports, "FeaturesReady", { enumerable: true, get: () => growthbookReact.FeaturesReady }); Object.defineProperty(exports, "IfFeatureEnabled", { enumerable: true, get: () => growthbookReact.IfFeatureEnabled }); Object.defineProperty(exports, "useExperiment", { enumerable: true, get: () => growthbookReact.useExperiment }); Object.defineProperty(exports, "useFeature", { enumerable: true, get: () => growthbookReact.useFeature }); Object.defineProperty(exports, "useFeatureIsOn", { enumerable: true, get: () => growthbookReact.useFeatureIsOn }); Object.defineProperty(exports, "useFeatureValue", { enumerable: true, get: () => growthbookReact.useFeatureValue }); Object.defineProperty(exports, "useGrowthBook", { enumerable: true, get: () => growthbookReact.useGrowthBook }); Object.defineProperty(exports, "withRunExperiment", { enumerable: true, get: () => growthbookReact.withRunExperiment }); exports.AbTestProvider = AbTestProvider.AbTestProvider; exports.useAbTestAttributes = useAbTestAttributes.useAbTestAttributes;