# @types/react-notification-system-redux

> TypeScript definitions for react-notification-system-redux

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

## Install

```sh
npm install @types/react-notification-system-redux
pnpm add @types/react-notification-system-redux
yarn add @types/react-notification-system-redux
bun add @types/react-notification-system-redux
```

## 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 | 1.1.10 |
| Published | 2023-11-07 |
| First published | 2016-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (3)

- [redux](https://npm.io/package/redux.md) ^3.6.0
- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/react-notification-system](https://npm.io/package/@types/react-notification-system.md) *

## Recent versions

- 1.1.10 (latest) — 2023-11-07
- 1.1.7 (ts3.6) — 2021-07-08
- 1.1.6 (ts2.8) — 2018-08-06
- 1.1.5 (ts2.6) — 2018-02-12
- 1.1.4 (ts2.3) — 2017-10-25
- 1.0.2 (ts2.1) — 2017-03-28
- 1.0.0 (ts2.0) — 2016-12-28
- 1.1.9 — 2023-10-18
- 1.1.8 — 2023-09-27
- 1.1.3 — 2017-08-31
- 1.1.2 — 2017-08-21
- 1.1.1 — 2017-08-14
- 1.1.0 — 2017-08-08
- 1.0.3 — 2017-06-23
- 1.0.1 — 2017-01-23

## README

# Installation
> `npm install --save @types/react-notification-system-redux`

# Summary
This package contains type definitions for react-notification-system-redux (https://github.com/gor181/react-notification-system-redux).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-notification-system-redux.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-notification-system-redux/index.d.ts)
````ts
import { Component } from "react";
import { Attributes, Notification } from "react-notification-system";
import { Action } from "redux";

export as namespace Notifications;

export = Notifications;

declare class Notifications extends Component<Notifications.NotificationsProps> {}

declare namespace Notifications {
    type NotificationsState = Notification[];

    type NotificationLevel = "error" | "warning" | "info" | "success";

    type NotificationsReducer<A extends Action> = (state: NotificationsState, action: A) => NotificationsState;

    type NotificationShow = (opts?: Notification) => Action;

    interface NotificationsProps extends Attributes {
        notifications?: Notification[] | undefined;
    }

    const reducer: NotificationsReducer<any>;

    function show(opts?: Notification, level?: NotificationLevel): Action;
    const error: NotificationShow;
    function hide(opts?: Notification | string | number): Action;
    const info: NotificationShow;
    const success: NotificationShow;
    const warning: NotificationShow;
    function removeAll(): Action;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/react-notification-system](https://npmjs.com/package/@types/react-notification-system), [redux](https://npmjs.com/package/redux)

# Credits
These definitions were written by [Karol Janyst](https://github.com/LKay).

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