flash-message-react v1.0.0
flash-message-react
Companion library to flash-message-redux. While flash-message-redux is all about putting transient messages in your redux store, flash-message-react is about displaying it on the screen. This is akin to a toast message or a flash message in the Rails world.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Installing
flash-message-react is an npm module and can be downloaded from the npm registry.
Using npm:
npm i --save flash-message-react
Using yarn:
yarn add flash-message-react
Using it
Using the flash-message-react library is fairly easy. You first need to install flash-message-redux as per the instructions and then simply use the FlashMessageComponent in your code.
And coding style tests
If submitting code, please ensure that your code follows the eslint rules we use. Thanks.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Martin Beauvais - Initial work - mbeauv
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details