react-simple-datepicker icon indicating copy to clipboard operation
react-simple-datepicker copied to clipboard

Uncaught TypeError: Cannot read property 'instanceOf' of undefined

Open hussaintamboli opened this issue 7 years ago • 2 comments

I am using "react-simple-datepicker": "^0.1.4" and I copied the code from README to my component and I get below error

DateInput.js:57 Uncaught TypeError: Cannot read property 'instanceOf' of undefined
    at Object../node_modules/react-simple-datepicker/lib/DateInput.js (DateInput.js:57)

hussaintamboli avatar Aug 30 '18 07:08 hussaintamboli

Getting the same error.

tjgragg avatar Sep 04 '18 17:09 tjgragg

This may be related to PropTypes being separated out from React proper:

Note: React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead.

https://reactjs.org/docs/typechecking-with-proptypes.html

chambery avatar Jan 30 '19 20:01 chambery