3.0.10 • Published 4 months ago

@types/react-toastr v3.0.10

Weekly downloads
832
License
MIT
Repository
github
Last release
4 months ago

Installation

npm install --save @types/react-toastr

Summary

This package contains type definitions for react-toastr (https://github.com/tomchentw/react-toastr).

Details

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

index.d.ts

// Type definitions for react-toastr 3.0
// Project: https://github.com/tomchentw/react-toastr, https://tomchentw.github.io/react-toastr
// Definitions by: Josh Holmer <https://github.com/shssoichiro>, Dan Regazzi <https://github.com/DanRegazzi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import { Component, ReactHTML } from 'react';

export class ToastContainer extends Component<{
    toastMessageFactory: any;
    className?: string | undefined;
}> {
    error: (message: React.ReactNode, title: React.ReactNode, optionsOverride?: {}) => void;
    info: (message: React.ReactNode, title: React.ReactNode, optionsOverride?: {}) => void;
    success: (message: React.ReactNode, title: React.ReactNode, optionsOverride?: {}) => void;
    warning: (message: React.ReactNode, title: React.ReactNode, optionsOverride?: {}) => void;
    clear: () => void;
}
export const ToastMessageAnimated: keyof ReactHTML;
export const ToastMessagejQuery: keyof ReactHTML;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:40 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Josh Holmer, and Dan Regazzi.

3.0.10

4 months ago

3.0.9

5 months ago

3.0.8

6 months ago

3.0.7

7 months ago

3.0.6

7 months ago

3.0.5

3 years ago

3.0.4

5 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago