react-facebook
Version:
Facebook components like a Login button, Like, Share, Comments, Embedded Post/Video, Messenger Chat, and Facebook Pixel tracking
15 lines (14 loc) • 489 B
TypeScript
import React from 'react';
import type { ReactNode } from 'react';
import type { FacebookOptions } from '../utils/Facebook';
export type FacebookProviderProps = FacebookOptions & {
children: ReactNode;
/** Facebook Pixel configuration */
pixel?: {
pixelId: string;
autoConfig?: boolean;
debug?: boolean;
advancedMatching?: Record<string, any>;
};
};
export default function FacebookProvider(props: FacebookProviderProps): React.JSX.Element;