1.1.0 • Published 7 years ago

hire-messages v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

Hire Messages

React component able to show error, warning and success messages

Example usage

import Messages, { addMessage } from 'hire-messages';

Call addMessage to add a message. It's true.

addMessage({
  type: 'error',
  value: 'This is a error',
});

The component is already initialized, just add Messages to another React component

<MyApp>
  <Header>My App header</Header>
  <Body>My App body</Body>
  {Messages}
</MyApp>

Development

$ npm run watch
1.1.0

7 years ago

1.0.0

7 years ago