We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8d5ce commit ec41b03Copy full SHA for ec41b03
README.md
@@ -80,7 +80,6 @@ Dispatch notification actions from any other component:
80
81
```
82
import React, {PropTypes} from 'react';
83
-import {connect} from 'react-redux';
84
import ReactDOM from 'react-dom';
85
86
import Notifications from 'react-notification-system-redux';
@@ -114,14 +113,14 @@ class OtherComponent extends React.Component {
114
113
render() {
115
const {notifications} = this.props;
116
117
- return (
118
- <div>
+ return (
+ <div>
119
<button onClick={this.handleClick}>
120
Spawn some notifications!!!
121
</button>
122
</div>
123
- );
124
- }
+ );
+ }
125
}
126
127
OtherComponent.contextTypes = {
0 commit comments