react-native-pull-to-refresh
react-native-pull-to-refresh copied to clipboard
Undefined is not an object (evaluating '_react2.PropTypes.bool')
This error is not fixed while running on iOS. Android had the same issue but i fixed by importing PorpTypes from 'prop-types' instead of importing it from React. Please Help me out. Thanks
+1 same temprarly fix is comment all proptypes in or replace import React, { PropTypes } from "react"; wuth import React from "react"; import PropTypes from "prop-types";
still I am getting same error..
I believe this should be fixed by: https://github.com/moschan/react-native-pull-to-refresh/pull/24
Yes, When I change import React, { PropTypes } from "react" to import PropTypes from "prop-types". In node_modules then it works. Please update your repo.
Hi guys, sorry for late response,
I merged PR and bumped it.
Use v2.1.3
. Thanks 😸
@moschan thanks for merging the fix!