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
3030
3131Import the reducer and pass it to your store:
3232
33- ```
33+ ``` javascript
3434import {createStore , combineReducers } from ' redux' ;
3535
3636import {reducer as notifications } from ' react-notification-system-redux' ;
@@ -47,7 +47,7 @@ export function configureStore(initialState = {}) {
4747
4848Include the Notifications component and pass the data from the reducer by using ` connect ` :
4949
50- ```
50+ ``` javascript
5151import React , {PropTypes } from ' react' ;
5252import {connect } from ' react-redux' ;
5353import ReactDOM from ' react-dom' ;
@@ -96,7 +96,7 @@ export default connect(
9696
9797Dispatch notification actions from any other component:
9898
99- ```
99+ ``` javascript
100100import React , {PropTypes } from ' react' ;
101101import ReactDOM from ' react-dom' ;
102102
You can’t perform that action at this time.
0 commit comments