joshjg / react-canvas-knob

Flexible knob/dial input component
MIT License
44 stars 28 forks source link

Issue with Proptypes #14

Closed carllang-andigital closed 7 years ago

carllang-andigital commented 7 years ago

Needs to use the new prop-types package.

Also, the onChangeEnd PropType throws a TypeError inside HandleMouseUp, removing it fixes and brakes nothing.

_this.handleMouseUp = function (e) { //_this.props.onChangeEnd(_this.eventToValue(e));