Fix typo in NavigationTransitioner
Summary: Typo. 🍺 Closes https://github.com/facebook/react-native/pull/7809 Differential Revision: D3384782 Pulled By: javache fbshipit-source-id: edfd2c561dc19ac8ec8c526860b934bc19429c6a
This commit is contained in:
parent
f22e9353a7
commit
3ed00f140d
|
@ -130,7 +130,7 @@ class NavigationTransitioner extends React.Component<any, Props, State> {
|
|||
nextProps.configureTransition() :
|
||||
null;
|
||||
|
||||
const transtionSpec = {
|
||||
const transitionSpec = {
|
||||
...DefaultTransitionSpec,
|
||||
...transitionUserSpec,
|
||||
};
|
||||
|
@ -141,7 +141,7 @@ class NavigationTransitioner extends React.Component<any, Props, State> {
|
|||
Animated.timing(
|
||||
progress,
|
||||
{
|
||||
...transtionSpec,
|
||||
...transitionSpec,
|
||||
toValue: 1,
|
||||
},
|
||||
),
|
||||
|
@ -152,7 +152,7 @@ class NavigationTransitioner extends React.Component<any, Props, State> {
|
|||
Animated.timing(
|
||||
position,
|
||||
{
|
||||
...transtionSpec,
|
||||
...transitionSpec,
|
||||
toValue: nextProps.navigationState.index,
|
||||
},
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue