Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: _react2.default.PropTypes is undefined #160

Open
v2okimochi opened this issue Aug 17, 2018 · 2 comments
Open

TypeError: _react2.default.PropTypes is undefined #160

v2okimochi opened this issue Aug 17, 2018 · 2 comments

Comments

@v2okimochi
Copy link

Your Environment

  • Version used:5.1.0
  • Browser Name and version:Firefox 61.0.2
  • Operating System and version (desktop or mobile):Windows10

I'm using React and importing 'react-bootstrap-date-picker'.

Error messages:

TypeError: _react2.default.PropTypes is undefined

./node_modules/react-bootstrap-date-picker/lib/index.js
[workspace]/node_modules/react-bootstrap-date-picker/lib/index.js:117

  114 | displayName: 'DatePickerCalendar',
  115 | 
  116 | propTypes: {
> 117 |   selectedDate: _react2.default.PropTypes.object,
  118 |   displayDate: _react2.default.PropTypes.object.isRequired,
  119 |   minDate: _react2.default.PropTypes.string,
  120 |   maxDate: _react2.default.PropTypes.string,
@DrDrakula
Copy link

Having the same issue... Tried changing the dependencies "react-bootstrap-date-picker": "github:pushtell/react-bootstrap-date-picker#f622dc8872dd180324ba5d3c295d009848f5814b", but that didn't help.

@maxaggedon
Copy link

see #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants