@toggle.tiger/toggletiger
Version:
A package to retrieve configuration from blobstore based on org, app, env, and config ID.
15 lines • 619 B
TypeScript
import { type ReactElement, type ReactNode } from "react";
import type { EnvironmentFlags } from "./types";
interface FeatureFlagContextType {
environmentFlags: EnvironmentFlags | null;
}
export declare const FeatureFlagContext: import("react").Context<FeatureFlagContextType>;
export interface FeatureFlagProviderProps {
children: ReactNode;
sdkKey: string;
baseUrl?: string;
pollingInterval?: number;
}
export declare const FeatureFlagProvider: ({ children, sdkKey, baseUrl, pollingInterval }: FeatureFlagProviderProps) => ReactElement;
export {};
//# sourceMappingURL=FeatureFlagProvider.d.ts.map