UNPKG

@nedomas/react-live-chat-loader

Version:

Implement live chat in your react app without taking a performance hit.

18 lines (17 loc) 462 B
/// <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; maxIdlePeriod?: number; baseUrl?: string; beforeInit?: () => void; onReady?: () => void; } export declare const LiveChatLoaderContext: import("react").Context<Context>; export {};