From 6a9ed3414a4bca86fe0bea1ba45571701e1235ed Mon Sep 17 00:00:00 2001 From: Tien Pham <32733132+tienf4m@users.noreply.github.com> Date: Mon, 23 Oct 2017 18:44:15 +0700 Subject: [PATCH] Fix typos (#2811) --- docs/api/views/Transitioner.md | 2 +- src/TypeDefinition.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/views/Transitioner.md b/docs/api/views/Transitioner.md index ffb3203..fe1b7f6 100644 --- a/docs/api/views/Transitioner.md +++ b/docs/api/views/Transitioner.md @@ -108,7 +108,7 @@ There are a few important properties of the `transitionProps` and `prevTransitio - `scenes: Array` - 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). diff --git a/src/TypeDefinition.js b/src/TypeDefinition.js index 20f4f98..320c54f 100644 --- a/src/TypeDefinition.js +++ b/src/TypeDefinition.js @@ -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.