React-select: Cannot read property 'bool' of undefined

Created on 13 Sep 2017  路  2Comments  路  Source: JedWatson/react-select

Accessing PropTypes from "react" instead of "prop-types"

https://github.com/JedWatson/react-select/blob/master/lib/Select.js#L1212

PropTypes should be used from "prop-types" package and not from "react". All other proptypes are from the prop-types package, except for this one. Not sure how this error came to pass. I can submit a PR if you need.

Most helpful comment

@imbhargav5 thanks for raising this, a fix for this is currently in master and will make it into the next rc

All 2 comments

@imbhargav5 thanks for raising this, a fix for this is currently in master and will make it into the next rc

Alright, feel free to close the PR if it's a dup.

Was this page helpful?
0 / 5 - 0 ratings