mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-23 00:38:42 +08:00
feat: allow specifying style interpolators in navigationOptions (#155)
This commit is contained in:
@@ -105,10 +105,10 @@ const StackWithHeaderPreset = createStackNavigator(
|
||||
ScreenWithLongTitle: ScreenWithLongTitle,
|
||||
},
|
||||
{
|
||||
...TransitionPresets.SlideFromRightIOS,
|
||||
headerStyleInterpolator: HeaderStyleInterpolators.forUIKit,
|
||||
headerMode: 'float',
|
||||
defaultNavigationOptions: {
|
||||
...TransitionPresets.SlideFromRightIOS,
|
||||
headerStyleInterpolator: HeaderStyleInterpolators.forUIKit,
|
||||
gesturesEnabled: true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user