About
Toastr for ReactJS. Lightweight library. Easy to use.
Installation
Install via NPM
npm install reactjs-toastr --save
(Live Demo)
ExampleInclude in React Component file
;;;; const mapStateToProps = ; const mapDispatchToProps = ; Component { super; } { } { return <div> <p onClick=toastr>Show Success Message</p> <p onClick=toastr>Show Info Message</p> <p onClick=toastr>Show Error Message</p> <p onClick=toastr>Show Warning Message</p> </div> ; } mapStateToProps mapDispatchToPropsMyComponent;
Any issue or want more features? Contact me!
This module has been tested under limited scenarios. If you find any issue please feel free to report via one of the below platforms:
Email: harshdoshi999@gmail.com | Skype: harshxxx3