@scaleway/use-growthbook
Version:
Utility package to expose AB test tool
13 lines (12 loc) • 534 B
TypeScript
import { type ReactNode } from 'react';
import type { Attributes, ErrorCallback, LoadConfig, ToolConfig, TrackingCallback } from './types';
type AbTestProviderProps = {
children: ReactNode;
config: ToolConfig;
trackingCallback: TrackingCallback;
errorCallback: ErrorCallback;
attributes: Attributes;
loadConfig?: LoadConfig;
};
export declare const AbTestProvider: ({ children, config, trackingCallback, errorCallback, attributes, loadConfig, }: AbTestProviderProps) => import("react").JSX.Element;
export {};