File tree 2 files changed +3
-4
lines changed 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React , { PropTypes } from 'react' ;
2
2
import { render } from 'react-dom' ;
3
- import reactReplaceString from 'react-replace- string' ;
3
+ import reactReplaceString from 'react-string-replace ' ;
4
4
5
5
const HighlightNumbers = React . createClass ( {
6
6
propTypes : {
@@ -18,8 +18,7 @@ const HighlightNumbers = React.createClass({
18
18
} ,
19
19
} ) ;
20
20
21
-
22
- const content = `Hey my number is 555-555-5555.` ;
21
+ const content = 'Hey my number is 555-555-5555.' ;
23
22
24
23
// Render the app
25
24
render ( < HighlightNumbers content = { content } /> , document . getElementById ( 'root' ) ) ;
Original file line number Diff line number Diff line change 24
24
"webpack" : " ^1.12.9" ,
25
25
"webpack-dev-middleware" : " ^1.4.0" ,
26
26
"webpack-hot-middleware" : " ^2.6.0" ,
27
- "react-replace- string" : " *"
27
+ "react-string-replace " : " *"
28
28
},
29
29
"dependencies" : {}
30
30
}
You can’t perform that action at this time.
0 commit comments