File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ npm install react-notification-system-redux react-notification-system --save
30
30
31
31
Import the reducer and pass it to your store:
32
32
33
- ```
33
+ ``` javascript
34
34
import {createStore , combineReducers } from ' redux' ;
35
35
36
36
import {reducer as notifications } from ' react-notification-system-redux' ;
@@ -47,7 +47,7 @@ export function configureStore(initialState = {}) {
47
47
48
48
Include the Notifications component and pass the data from the reducer by using ` connect ` :
49
49
50
- ```
50
+ ``` javascript
51
51
import React , {PropTypes } from ' react' ;
52
52
import {connect } from ' react-redux' ;
53
53
import ReactDOM from ' react-dom' ;
@@ -96,7 +96,7 @@ export default connect(
96
96
97
97
Dispatch notification actions from any other component:
98
98
99
- ```
99
+ ``` javascript
100
100
import React , {PropTypes } from ' react' ;
101
101
import ReactDOM from ' react-dom' ;
102
102
You can’t perform that action at this time.
0 commit comments