Skip to content

Commit

Permalink
Fix warnings when used in react-native-web
Browse files Browse the repository at this point in the history
Warning: React does not recognize the `animateTransitions` prop on a DOM element.
Warning: React does not recognize the `animationType` prop on a DOM element.
Warning: React does not recognize the `thumbTouchSize` prop on a DOM element.
Unknown event handler property `onValueChange`. It will be ignored.
  • Loading branch information
msand authored May 13, 2018
1 parent 6dfa099 commit 4c9eef9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ export default class Slider extends PureComponent {
trackStyle,
thumbStyle,
debugTouchArea,
onValueChange,
thumbTouchSize,
animationType,
animateTransitions,
...other
} = this.props;
var {value, containerSize, trackSize, thumbSize, allMeasured} = this.state;
Expand Down

0 comments on commit 4c9eef9

Please sign in to comment.