Skip to content

Commit a9847e5

Browse files
committed
Update readme
1 parent 89a1a9d commit a9847e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const HighlightNumbers = React.createClass({
5454
const content = 'Hey my number is 555-555-5555.';
5555
return (
5656
<div>
57-
{reactStringReplace(this.props.content, /(\d+)/g, (match, i) => (
57+
{reactStringReplace(content, /(\d+)/g, (match, i) => (
5858
<span key={i} style={{ color: 'red' }}>{match}</span>
5959
))}
6060
</div>

0 commit comments

Comments
 (0)