# @types/react-twitter-auth

> TypeScript definitions for react-twitter-auth

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

## Install

```sh
npm install @types/react-twitter-auth
pnpm add @types/react-twitter-auth
yarn add @types/react-twitter-auth
bun add @types/react-twitter-auth
```

## Health

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

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2023-11-07 |
| First published | 2018-02-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.6 (latest) — 2023-11-07
- 0.0.4 (ts3.7) — 2021-10-21
- 0.0.2 (ts3.6) — 2021-07-08
- 0.0.1 (ts2.8) — 2018-08-06
- 0.0.0 (ts2.6) — 2018-02-19
- 0.0.5 — 2023-10-18
- 0.0.3 — 2021-10-20

## README

# Installation
> `npm install --save @types/react-twitter-auth`

# Summary
This package contains type definitions for react-twitter-auth (https://github.com/GenFirst/react-twitter-auth).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-twitter-auth.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-twitter-auth/index.d.ts)
````ts
interface TwitterLoginProps {
    tag?: React.ElementType | undefined;
    text?: string | undefined;
    loginUrl: string;
    requestTokenUrl: string;
    onFailure: (msg: string) => void;
    onSuccess: (response: string) => void;
    disabled?: boolean | undefined;
    style?: React.CSSProperties | undefined;
    dialogWidth?: number | undefined;
    dialogHeight?: number | undefined;
    showIcon?: boolean | undefined;
    credentials?: "omit" | "same-origin" | "include" | undefined;
    customHeaders?: HeadersInit | undefined;
    children?: React.ReactNode | undefined;
    forceLogin?: boolean | undefined;
}

declare var TwitterLogin: React.FunctionComponent<TwitterLoginProps>;

export default TwitterLogin;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Paul Fasola](https://github.com/paulfasola), and [Dmytro Savchenko](https://github.com/loginwashere).

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