0.0.2 • Published 8 years ago

react-flasher v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

react-flasher

a notification center react component

  • bootstrap style
  • app-wide notifications management support

usage

$ npm install react-flasher

then you can esay use it in your component

  1. index.jsx
  import ReactFlasher from 'react-flasher';

  <div>
    <ReactFlasher.Component />
  </div>
  1. then pop out notification from any component with
  ReactFlasher.info('hello world');
  ReactFlasher.warning('hello world');
  ReactFlasher.error('hello world');
  ReactFlasher.success('hello world');

LICENSE

MIT