@types/react-facebook-login-component
TypeScript icon, indicating that this package has built-in type declarations

4.1.3 • Public • Published

Installation

npm install --save @types/react-facebook-login-component

Summary

This package contains type definitions for react-facebook-login-component (https://github.com/kennetpostigo/react-facebook-login-component).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-facebook-login-component.

index.d.ts

import * as React from "react";

export interface FacebookLoginInfo {
    id: string;
    accessToken: string;
    name?: string | undefined;
    email?: string | undefined;
}

export interface FacebookLoginProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
    socialId: string;
    xfbml?: boolean | undefined;
    version?: string | undefined;
    fields?: string | undefined;
    buttonText?: string | undefined;
    responseHandler: (response: FacebookLoginInfo) => void;
}

export class FacebookLogin extends React.Component<FacebookLoginProps> {}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Konstantin Lebedev.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-facebook-login-component

Weekly Downloads

16

Version

4.1.3

License

MIT

Unpacked Size

3.96 kB

Total Files

5

Last publish

Collaborators

  • types