mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-07 22:43:48 +08:00
refactor: rename gesturesEnabled to gestureEnabled for consistency
This commit is contained in:
@@ -2,7 +2,7 @@ import * as React from 'react';
|
||||
import { Button, TextInput, View } from 'react-native';
|
||||
import {
|
||||
createStackNavigator,
|
||||
TransitionPresets,
|
||||
CardStyleInterpolators,
|
||||
} from 'react-navigation-stack';
|
||||
|
||||
class Input extends React.Component {
|
||||
@@ -48,9 +48,11 @@ const App = createStackNavigator(
|
||||
Input: { screen: Input },
|
||||
},
|
||||
{
|
||||
headerMode: 'screen',
|
||||
defaultNavigationOptions: {
|
||||
...TransitionPresets.SlideFromRightIOS,
|
||||
gesturesEnabled: true,
|
||||
cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS,
|
||||
gestureDirection: 'horizontal',
|
||||
gestureEnabled: true,
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user