UNPKG

react-oauth2

Version:

![npm](https://img.shields.io/npm/v/react-oauth2) ![GitHub](https://img.shields.io/github/license/maxifjaved/react-oauth2) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/react-oauth2) ![npm type definitions](https://img.shields.io/npm/types

19 lines (18 loc) 518 B
import React from 'react'; interface FacebookButtonProps { url?: string; clientId: string; clientSecret: string; redirectUri: string; authorizationUrl?: string; scope?: string; width?: number; height?: number; className?: string; style?: React.CSSProperties; disabled?: boolean; children: React.ReactNode; callback: (error: Error | null, result: any | null) => void; } export declare const FacebookOauth2: React.FC<FacebookButtonProps>; export {};