react-facebook
Version:
Facebook components like a Login button, Like, Share, Comments, Embedded Post/Video, Messenger Chat, and Facebook Pixel tracking
11 lines (10 loc) • 421 B
TypeScript
import React, { type ReactNode, type ComponentType, type ElementType, type CSSProperties } from 'react';
import type { ShareOptions } from '../hooks/useShare';
export type LoginButton = ShareOptions & {
children?: ReactNode;
as?: ComponentType | ElementType;
disabled?: boolean;
className?: string;
style?: CSSProperties;
};
export default function ShareButton(props: LoginButton): React.JSX.Element;