React Flash
A React Flash component for delivering user message
Install
- yarn add @djungst/react-flash or npm install @djungst/react-flash
props
- message (string): The message to be displayed
- msgType (string): Styling for the message (info, error, success)
- duration ( integer default 15000 ): How long to display the flash message