notification-system
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,5 +6,4 @@ import React, { Component } from 'react'; | ||
export default class Notification extends React.Component { | ||
_notificationSystem: null, | ||
componentDidMount: function() { | ||
componentDidMount() { | ||
this._notificationSystem = this.refs.notificationSystem; | ||
@@ -15,5 +14,5 @@ this._notificationSystem.addNotification({ | ||
}); | ||
}, | ||
} | ||
render: function() { | ||
render() { | ||
return ( | ||
@@ -26,3 +25,3 @@ <div> | ||
} | ||
}); | ||
} | ||
@@ -29,0 +28,0 @@ ReactDOM.render( |
{ | ||
"name": "notification-system", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "React Notification System ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1003
23