# @types/react-toastr

> TypeScript definitions for react-toastr

Latest version **3.0.10** (published 2024-01-03) · MIT license · 0 weekly downloads

## Install

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

## 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 | 3.0.10 |
| Published | 2024-01-03 |
| First published | 2017-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 3.0.10 (latest) — 2024-01-03
- 3.0.8 (ts4.5) — 2023-11-07
- 3.0.5 (ts3.6) — 2021-07-08
- 3.0.4 (ts2.8) — 2019-02-13
- 3.0.2 (ts2.6) — 2018-04-16
- 3.0.0 (ts2.3) — 2017-11-29
- 3.0.9 — 2023-12-15
- 3.0.7 — 2023-10-18
- 3.0.6 — 2023-09-27
- 3.0.3 — 2018-08-06
- 3.0.1 — 2018-02-12

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-toastr/index.d.ts)
````ts
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 type HTMLElementType =
    | "a"
    | "abbr"
    | "address"
    | "area"
    | "article"
    | "aside"
    | "audio"
    | "b"
    | "base"
    | "bdi"
    | "bdo"
    | "big"
    | "blockquote"
    | "body"
    | "br"
    | "button"
    | "canvas"
    | "caption"
    | "center"
    | "cite"
    | "code"
    | "col"
    | "colgroup"
    | "data"
    | "datalist"
    | "dd"
    | "del"
    | "details"
    | "dfn"
    | "dialog"
    | "div"
    | "dl"
    | "dt"
    | "em"
    | "embed"
    | "fieldset"
    | "figcaption"
    | "figure"
    | "footer"
    | "form"
    | "h1"
    | "h2"
    | "h3"
    | "h4"
    | "h5"
    | "h6"
    | "head"
    | "header"
    | "hgroup"
    | "hr"
    | "html"
    | "i"
    | "iframe"
    | "img"
    | "input"
    | "ins"
    | "kbd"
    | "keygen"
    | "label"
    | "legend"
    | "li"
    | "link"
    | "main"
    | "map"
    | "mark"
    | "menu"
    | "menuitem"
    | "meta"
    | "meter"
    | "nav"
    | "noscript"
    | "object"
    | "ol"
    | "optgroup"
    | "option"
    | "output"
    | "p"
    | "param"
    | "picture"
    | "pre"
    | "progress"
    | "q"
    | "rp"
    | "rt"
    | "ruby"
    | "s"
    | "samp"
    | "search"
    | "slot"
    | "script"
    | "section"
    | "select"
    | "small"
    | "source"
    | "span"
    | "strong"
    | "style"
    | "sub"
    | "summary"
    | "sup"
    | "table"
    | "template"
    | "tbody"
    | "td"
    | "textarea"
    | "tfoot"
    | "th"
    | "thead"
    | "time"
    | "title"
    | "tr"
    | "track"
    | "u"
    | "ul"
    | "var"
    | "video"
    | "wbr"
    | "webview";

export const ToastMessageAnimated: HTMLElementType;
export const ToastMessagejQuery: HTMLElementType;

````

### Additional Details
 * Last updated: Wed, 03 Jan 2024 01:30:15 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Josh Holmer](https://github.com/shssoichiro), and [Dan Regazzi](https://github.com/DanRegazzi).

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