UNPKG

react-facebook

Version:

Facebook components like a Login button, Like, Share, Comments, Embedded Post/Video, Messenger Chat, and Facebook Pixel tracking

13 lines (12 loc) 473 B
import Facebook from '../utils/Facebook'; export type FacebookContextInterface = { isLoading: boolean; error: Error | undefined; init: () => Promise<Facebook | undefined>; api: Facebook | undefined; parse: (element: HTMLDivElement | HTMLSpanElement) => Promise<void>; locale: string; setLocale: (locale: string) => Promise<void>; }; declare const _default: import("react").Context<FacebookContextInterface | undefined>; export default _default;