Undefined is not an object (evaluating '_react. PropTypes.bool')


#1

Was upgrading from expo 20.0.0 to 23.0.0
React 16.0.0
React native 0.50.1
Native base 2.3.2


#2

PropTypes was moved to a separate package, you probably need to switch to import PropTypes from 'prop-types';


#3

@jesse never use proptypes in my project but why im getting this error?


#4

I would check to make sure that your version of Native base is up to date. It looks like either your code or library code has an issue with using the old PropTypes import.