tb-react-live-chat-loader
Version:
Implement live chat in your react app without taking a performance hit.
19 lines (18 loc) • 453 B
TypeScript
import { State } from '../types';
declare global {
interface Window {
Intercom: any;
intercomSettings: () => void;
}
}
declare const _default: {
domain: string;
load: ({ providerKey, setState, beforeInit, onReady }: {
providerKey: string;
setState: (state: State) => void;
beforeInit?: () => void;
onReady?: () => void;
}) => boolean;
open: () => void;
};
export default _default;