Highly customizable material design components for React Native
3.78k
stars
611
forks
source link
on upgrading the RN to 0.70.6 of version 'ViewPropTypes' haven't use style, Text.propTypes.style ..properties , need update #518
Closed
98rahul closed 1 year ago
could you update the package as on up-grading the RN-app bunch of error thrown as listed down below
"react": "18.1.0", "react-native": "0.70.5",
and the error related the file of src/utils
import { View, BackHandler, ViewPropTypes as RNViewPropTypes, BackAndroid as DeprecatedBackAndroid, } from 'react-native';
const ViewPropTypes = RNViewPropTypes || View.propTypes; // eslint-disable-line const BackAndroid = BackHandler || DeprecatedBackAndroid;
export { ViewPropTypes, BackAndroid }; and error due to import of ViewPropTypes from 'react-native'.