react-live-chat-loader
Version:
Implement live chat in your react app without taking a performance hit.
19 lines (18 loc) • 463 B
TypeScript
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;
instanceId?: string;
env?: string;
geo?: string;
beforeInit?: () => void;
onReady?: () => void;
}
export declare const LiveChatLoaderContext: import("react").Context<Context>;
export {};