react-flasher

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i react-flasher

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ~metrue