mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-07 09:19:11 +08:00
feat: add cardX options in navigationOptions
This commit is contained in:
@@ -73,11 +73,11 @@ export default createStackNavigator(
|
||||
},
|
||||
{
|
||||
initialRouteName: 'List',
|
||||
transparentCard: true,
|
||||
mode: 'modal',
|
||||
headerMode: 'none',
|
||||
navigationOptions: {
|
||||
defaultNavigationOptions: {
|
||||
gesturesEnabled: false,
|
||||
cardTransparent: true,
|
||||
},
|
||||
cardStyleInterpolator: ({ progress: { current } }) => {
|
||||
const opacity = Animated.interpolate(current, {
|
||||
|
||||
Reference in New Issue
Block a user