leejaen / React-Desktop-Notification

A desktop notification component in react that supported Chrome & Firefox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doenst work in react 16.0.0

wietzehiha opened this issue · comments

TypeError: React.createClass is not a function
./node_modules/react-desktop-notification/index.js
node_modules/react-desktop-notification/index.js:6
3 | */
4 | var React = require('react');
5 |

6 | var Notifier = React.createClass({
7 | statics: {
8 | start: function(title, context, url, icon, name) {
9 | name=name||("notiwin"+(function(n) {

Thankyou!