# @types/react-facebook-login-component

> TypeScript definitions for react-facebook-login-component

Latest version **4.1.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-facebook-login-component
pnpm add @types/react-facebook-login-component
yarn add @types/react-facebook-login-component
bun add @types/react-facebook-login-component
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.1.3 |
| Published | 2023-11-07 |
| First published | 2018-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-facebook-login-component
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-facebook-login-component
- npm.io page: https://npm.io/package/@types/react-facebook-login-component

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 4.1.3 (latest) — 2023-11-07
- 4.1.1 (ts3.6) — 2021-07-08
- 4.1.0 (ts2.8) — 2018-10-04
- 4.1.2 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-facebook-login-component/index.d.ts)
````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](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Konstantin Lebedev](https://github.com/koss-lebedev).

---
_Source: https://npm.io/package/@types/react-facebook-login-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
