Skip to content

Commit

Permalink
removed PropTypes from React and added import PropTypes from 'prop-ty…
Browse files Browse the repository at this point in the history
…pes'
  • Loading branch information
Aynul Habib authored Nov 18, 2017
1 parent e322f90 commit 5ba3b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, {PropTypes} from 'react';
import React from 'react';
import {Text} from 'react-native';
import {findAll} from 'highlight-words-core';
import PropTypes from 'prop-types';

Highlighter.propTypes = {
autoEscape: PropTypes.bool,
Expand Down

0 comments on commit 5ba3b4e

Please sign in to comment.