Skip to content

Commit

Permalink
Update doc to show that the default animation is 'timing'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanregisser committed Jun 13, 2016
1 parent 2836f42 commit 5f2469b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ trackStyle | [style](http://facebook.github.io/react-native/docs/view
thumbStyle | [style](http://facebook.github.io/react-native/docs/view.html#style) | Yes | | The style applied to the thumb
debugTouchArea | bool | Yes | false | Set this to true to visually see the thumb touch rect in green.
animateTransitions | bool | Yes | false | Set to true if you want to use the default 'spring' animation
animationType | string | Yes | 'spring' | Set to 'spring' or 'timing' to use one of those two types of animations with the default [animation properties](https://facebook.github.io/react-native/docs/animations.html).
animationType | string | Yes | 'timing' | Set to 'spring' or 'timing' to use one of those two types of animations with the default [animation properties](https://facebook.github.io/react-native/docs/animations.html).
animationConfig | object | Yes | undefined | Used to configure the animation parameters. These are the same parameters in the [Animated library](https://facebook.github.io/react-native/docs/animations.html).


Expand Down
2 changes: 1 addition & 1 deletion src/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ var Slider = React.createClass({
debugTouchArea: PropTypes.bool,

/**
* Set to true to animate values with default 'spring' animation type
* Set to true to animate values with default 'timing' animation type
*/
animateTransitions : PropTypes.bool,

Expand Down

0 comments on commit 5f2469b

Please sign in to comment.