0.0.6 • Published 6 months ago

@types/react-twitter-auth v0.0.6

Weekly downloads
298
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-twitter-auth 0.0
// Project: https://github.com/GenFirst/react-twitter-auth
// Definitions by: Paul Fasola <https://github.com/paulfasola>
//                 Dmytro Savchenko <https://github.com/loginwashere>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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: Thu, 21 Oct 2021 23:01:44 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Paul Fasola, and Dmytro Savchenko.

0.0.5

7 months ago

0.0.6

6 months ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

6 years ago

0.0.0

6 years ago