UNPKG

react-enable

Version:

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

11 lines (10 loc) 397 B
import { ReactNode } from 'react'; import { FeatureDescription } from './FeatureState'; interface FeatureProps { readonly features: readonly FeatureDescription[]; readonly children?: ReactNode; readonly disableConsole?: boolean; readonly storage?: Storage; } export declare function Features({ children, features, disableConsole, storage, }: FeatureProps): JSX.Element; export {};