This commit is contained in:
Tien Pham 2017-10-23 18:44:15 +07:00 committed by Vojtech Novak
parent 4951a6d9d1
commit 6a9ed3414a
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ There are a few important properties of the `transitionProps` and `prevTransitio
- `scenes: Array<NavigationScene>` - a list of all available scenes
- `position: NavigationAnimatedValue` - the progressive index of the transitioner's navigation state
- `progress: NavigationAnimatedValue` - the value that represents the progress of the transition when navigation state changes from one to another. Its numberic value will range from 0 to 1.
- `progress: NavigationAnimatedValue` - the value that represents the progress of the transition when navigation state changes from one to another. Its numeric value will range from 0 to 1.
For the complete list of properties of `NavigationTransitionProps`, check out its [flow definition](https://github.com/react-community/react-navigation/blob/master/src/TypeDefinition.js#L273).

View File

@ -424,7 +424,7 @@ export type NavigationTransitionProps = {
position: Animated.Value,
// The value that represents the progress of the transition when navigation
// state changes from one to another. Its numberic value will range from 0
// state changes from one to another. Its numeric value will range from 0
// to 1.
// progress.__getAnimatedValue() < 1 : transtion is happening.
// progress.__getAnimatedValue() == 1 : transtion completes.