Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types
in Scrollbars (created by Picker)
<Scrollbars ref="scroll" className="sscroll" onScroll={this.handleScroll.bind(this)}>
</Scrollbars>
Please see https://github.com/reactjs/prop-types/issues/38.
This was a false positive caused by production version of prop-types generating a mistaken warning when development version of React is calling it.
It is fixed in [email protected].
You might need to rebuild the UMD bundle of the component that depends on prop-types (probably this repo) to see the changes.
thanks @gaearon I added [email protected] in 4.1.2
Most helpful comment
Please see https://github.com/reactjs/prop-types/issues/38.
This was a false positive caused by production version of
prop-typesgenerating a mistaken warning when development version of React is calling it.It is fixed in
[email protected].You might need to rebuild the UMD bundle of the component that depends on
prop-types(probably this repo) to see the changes.