React component for showing status messages
npm install react-messagereact-messages
=======================
React component for showing error, warning, and info messages.
npm install react-message``javascript
var Message = require('react-message');
var error = ['Something really bad just happened!!!']
`
See more examples on the demo page.
Each type of message is given a class name like "message--#{messageType}"
so:
* .message--error
* .message--warning
* .message--info
You can also add styles using inline style objects.
To set styles for individual messages use the messageStyle prop.
To set styles for the wrapper div, use the wrapperStyle` prop.