Skip to content

Commit

Permalink
Replace React.PropTypes with PropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev authored Aug 23, 2018
1 parent 17b4634 commit 8697db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/highlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var Highlighter = createReactClass({
caseSensitive: PropTypes.bool,
ignoreDiacritics: PropTypes.bool,
diacriticsBlacklist: PropTypes.string,
matchElement: PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.func]),
matchElement: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
matchClass: PropTypes.string,
matchStyle: PropTypes.object
},
Expand Down

0 comments on commit 8697db8

Please sign in to comment.