react-live-chat-loader
Version:
Implement live chat in your react app without taking a performance hit.
22 lines (21 loc) • 542 B
TypeScript
import { State } from '../types';
declare global {
interface Window {
AdobeDX: any;
}
}
declare const _default: {
domain: string;
load: ({ setState, baseUrl, providerKey, instanceId, env, geo, beforeInit, onReady }: {
setState: (state: State) => void;
baseUrl?: string;
providerKey?: string;
instanceId?: string;
env?: string;
geo?: string;
beforeInit?: () => void;
onReady?: () => void;
}) => void;
open: () => void;
};
export default _default;