@unleash/proxy-client-react
Version:
React interface for working with unleash
13 lines (12 loc) • 428 B
TypeScript
/** @format */
import { type FC, type PropsWithChildren } from 'react';
import { type 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;