UNPKG

react-enable

Version:

feature flags to enable and disable functionality at runtime in a react application

14 lines (13 loc) 671 B
export { FeaturesMachine } from './FeaturesState'; export { Features } from './Features'; export { Enable } from './Enable'; export { Disable } from './Disable'; export { useDisabled } from './useDisabled'; export { useEnabled } from './useEnabled'; export { useAllDisabled } from './useAllDisabled'; export { useAllEnabled } from './useAllEnabled'; export type { EnableContextType } from './EnableContext'; export type { FeatureContextType } from './FeatureContext'; export type { FeatureValue, FeatureState, FeatureDescription, FeatureDispatch } from './FeatureState'; export { EnableContext } from './EnableContext'; export { ToggleFeatures } from './ToggleFeatures';