@unleash/proxy-client-react
Version:
React interface for working with unleash
12 lines (11 loc) • 398 B
TypeScript
import { FC, PropsWithChildren } from 'react';
import { IConfig, UnleashClient } from 'unleash-proxy-client';
export interface IFlagProvider {
config?: IConfig;
unleashClient?: UnleashClient;
startClient?: boolean;
stopClient?: boolean;
startTransition?: (fn: () => void) => void;
}
declare const FlagProvider: FC<PropsWithChildren<IFlagProvider>>;
export default FlagProvider;