react-redux-toasts
react-redux-toasts
is a React toast implemented with react-redux-toastr.
Installation
npm install --save react-redux-toasts
const reducers = toastr: toastReducer // ... other reducers ...const reducer = const store =
<Provider store=store> ... other things <MToastr /></Provider>
{ return <div> <button onClick= mToast type="button">Toast</button> </div> }
Run a local demo
git clone https://github.com/djfr101/react-redux-toasts.git
cd react-redux-toasts
npm install
npm start
open your browser at http://localhost:3000