rmc-notification
React Notification UI Component!NPM versionnpm-imagenpm-url !build statustravis-imagetravis-url !Test coveragecoveralls-imagecoveralls-url !gemnasium depsgemnasium-imagegemnasium-url !node versionnode-imagenode-url !npm downloaddownload-imagedownload-url
Development
npm install
npm start
Example
http://localhost:8000/examples/online example: http://react-component.github.io/m-notification/examples/
Feature
- support ie8,ie8+,chrome,firefox,safari
install

Usage
var Notification = require('rmc-notification');
Notification.newInstance({}, notification => {
notification.notice({
content: 'content'
});
});
API
Notification.newInstance(props, (notification) => void) => void
props details:notification.notice(props)
props details:notification.removeNotice(key:string)
remove single notice with specified keynotification.destroy()
destroy current notificationTest Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir