react-native-sk-refreshable-listview icon indicating copy to clipboard operation
react-native-sk-refreshable-listview copied to clipboard

undefined is not an object (evaluating 'PropTypes.func')

Open omybug opened this issue 9 years ago • 2 comments

undefined is not an object (evaluating 'PropTypes.func') in TopButton.js

"react": "^15.1.0", "react-native": "^0.27.2",

omybug avatar Jun 13 '16 02:06 omybug

Same here after upgrading to react-native 0.28, altough I don't have the stracktrace, only the error.

Antonhansel avatar Jun 22 '16 20:06 Antonhansel

have you tried? prepending, React, like:

Button.propTypes = {
  ...
  enabled: React.PropTypes.func,
  ...
};

alexrqs avatar Aug 03 '16 06:08 alexrqs