mobx-toastr
Tiny Mobx wrapper around toastr notifications library.
Install
npm install --save mobx-toastr
Usage
import React Component from 'react' import Toastr from 'mobx-toastr'import '../node_modules/toastr/build/toastr.css'; const options = closeButton: false const Root = <Provider => <App /> </Provider> ReactDOM
Working example.
API & Documentation
For detailed documentation look here.
License
MIT © padsbanger