UNPKG

tb-react-live-chat-loader

Version:

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

22 lines (21 loc) 547 B
import { State } from '../types'; declare global { interface Window { userlike: { userlikeReady: () => void; userlikeStartChat: () => void; userlikeQuitChat: () => 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;