refactor: rename gesturesEnabled to gestureEnabled for consistency

This commit is contained in:
satyajit.happy
2019-07-15 17:35:21 +02:00
parent 4db67a17a6
commit ef3742e992
10 changed files with 21 additions and 19 deletions

View File

@@ -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,
},
}
);