diff --git a/index.js b/index.js index 7fb0df3..7da70c8 100755 --- a/index.js +++ b/index.js @@ -13,9 +13,11 @@ import { View, Image, Text, - TouchableHighlight, - ViewPropTypes as RNViewPropTypes, + TouchableHighlight } from 'react-native'; + +import {ViewPropTypes as RNViewPropTypes} from 'deprecated-react-native-prop-types'; + import PropTypes from 'prop-types'; const ViewPropTypes = RNViewPropTypes || View.propTypes;