1.0.2 • Published 7 years ago
@djungst/react-flash v1.0.2
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