UNPKG

pricing4react

Version:

A library of components that ease the integration of feature toggling driven by pricing plans into your React application's UI.

8 lines (7 loc) 587 B
export { useGenericFeature } from "./lib/components/feature/useGenericFeature"; export { feature } from "./lib/logic/model/Feature"; export { and, or, iff, implies, } from "./lib/logic/model/BinaryLogicalPredicate"; export { Feature, On, Default, Loading, ErrorFallback, } from "./lib/components/feature/Feature"; export { fetchWithPricingInterceptor, searchNewTokenAndUpdate, } from "./services/api.service"; export { evaluateFeatureInPricing, evaluatePricing, } from "./services/evaluation.service"; export { ReactPricingDrivenFeaturesProvider } from "./provider/OpenFeatureProvider";