Open ViRu-ThE-ViRuS opened 6 years ago
Change all View.PropTypes to ViewPropTypes and add import {ViewPropTypes} from 'react-native';
View.PropTypes
ViewPropTypes
import {ViewPropTypes} from 'react-native';
Release builds fail due to this.
+1
https://github.com/RealOrangeOne/react-native-mock/pull/158 looks like it's aiming to fix this, amongst other things.
Change all
View.PropTypes
toViewPropTypes
and addimport {ViewPropTypes} from 'react-native';
Release builds fail due to this.