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