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


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


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


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


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.