From 24bd62f8a27e49146680973573a09805758d135f Mon Sep 17 00:00:00 2001 From: mfik Date: Thu, 13 Apr 2023 14:42:51 +0200 Subject: [PATCH] Update index.js Deleted Deprecated ViewPropTypes --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;