1.2.9 • Published 9 months ago

react-web-notifications v1.2.9

Weekly downloads
14
License
MIT
Repository
github
Last release
9 months ago

React Web Notifications

Simple web notifications component for React

NPM

Install

$ npm install react-web-notifications --save

Usage

import WebNotification from 'react-web-notifications'
  <WebNotification
        title="Hello, World!" // the title prop is required
        icon="path/to/image.jpg"
        body="This is a web notification"
        timeout={9000}
        onClickFn={ () => window.open('http://www.google.com/', '_blank') } // open your own site on notification click
  />

API

PropTypeRequired
titlestringtrue
iconstringfalse
bodystringfalse
timeoutnumberfalse
onClickFnfunctionfalse

MIT

1.2.9

9 months ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.0

3 years ago

1.1.1

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.0

4 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago