mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 08:26:23 +00:00
Added the PushFromLeft animation to Navigator
Summary: Added the PushFromLeft animation to Navigator Closes https://github.com/facebook/react-native/pull/8911 Differential Revision: D3841403 Pulled By: mkonicek fbshipit-source-id: d8e388e507270a24be0b85cb5974d34f9aa1c6fa
This commit is contained in:
parent
4b8688926b
commit
8ebe66d0e3
@ -600,6 +600,13 @@ var NavigatorSceneConfigs = {
|
|||||||
out: buildStyleInterpolator(directionMapping.ToTheStartIOS),
|
out: buildStyleInterpolator(directionMapping.ToTheStartIOS),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
PushFromLeft: {
|
||||||
|
...BaseConfig,
|
||||||
|
animationInterpolators: {
|
||||||
|
into: buildStyleInterpolator(directionMapping.FromTheStart),
|
||||||
|
out: buildStyleInterpolator(directionMapping.ToTheEndIOS),
|
||||||
|
},
|
||||||
|
},
|
||||||
FloatFromRight: {
|
FloatFromRight: {
|
||||||
...BaseConfig,
|
...BaseConfig,
|
||||||
// We will want to customize this soon
|
// We will want to customize this soon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user