tb-react-live-chat-loader
Version:
Implement live chat in your react app without taking a performance hit.
17 lines (16 loc) • 434 B
TypeScript
/// <reference types="react" />
import { Provider, State } from './types';
interface Context {
provider: Provider;
providerKey: string;
state: State;
setState: (state: State) => void;
appID?: string;
locale?: string;
idlePeriod?: number;
baseUrl?: string;
beforeInit?: () => void;
onReady?: () => void;
}
export declare const LiveChatLoaderContext: import("react").Context<Context>;
export {};