# box4b-react-growl

> Growl Like Notifications for box4b React Apps

Latest version **0.1.0** (published 2017-01-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install box4b-react-growl
pnpm add box4b-react-growl
yarn add box4b-react-growl
bun add box4b-react-growl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-01-05 |
| First published | 2017-01-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Romain Fenninger |
| Maintainers | zipou |
| Keywords | react, growl, notification, box4b |

## Links

- npm: https://www.npmjs.com/package/box4b-react-growl
- Repository: https://github.com/zipou/react-growl
- Homepage: https://github.com/zipou/react-growl#readme
- Issues: https://github.com/zipou/react-growl/issues
- npm.io page: https://npm.io/package/box4b-react-growl

## Dependencies (2)

- [react](https://npm.io/package/react.md) >15.0.0
- [react-dom](https://npm.io/package/react-dom.md) >15.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-01-05
- 0.0.11 — 2017-01-05
- 0.0.10 — 2017-01-05
- 0.0.9 — 2017-01-05
- 0.0.8 — 2017-01-05
- 0.0.7 — 2017-01-05
- 0.0.6 — 2017-01-05
- 0.0.5 — 2017-01-05
- 0.0.4 — 2017-01-05
- 0.0.2 — 2017-01-05
- 0.0.1 — 2017-01-05

## README

Grow Like Notifications for box4b React Apps
============================================
Install
-------
### Step 1
Import the Redux Reducer and import it into you application

```
import {Reducer as notificationReducer} from "box4b-react-growl";

export default combineReducers({
  ...
  notificationReducer,
  ...
});

```

### Step 2
Import the UI component and render it in your application (make sure it's always visible, like in a NavBar, or a Container)

```
import {Notification} from "box4b-react-growl";

export default MyContainer extends React.component {

  render() {
    return (
      <div className="container">
        {this.props.children}
        <Notification/>
      </div>
    )
  }
}

```

Usage
-----

Use Redux Dispatch to send notification action :

```
import {notify, DANGER} from "box4b_react_growl";

const mapDispatchToProps = (dispatch, ownProps) => {
  return {
    notification: (message) => {
      return dispatch(notify(DANGER, message))
    }
  }
}

```

Todo
----

- Init Custom Options (like labels, TIMEOUT value ..)
- Webpacking ?

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