@types/react-twitter-auth
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

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, and Dmytro Savchenko.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-twitter-auth

Weekly Downloads

1,103

Version

0.0.6

License

MIT

Unpacked Size

4.28 kB

Total Files

5

Last publish

Collaborators

  • types