change navigation animation react native

Solutions on MaxInterview for change navigation animation react native by the best coders in the world

showing results for - "change navigation animation react native"
Francisco
15 Jan 2020
1import {
2  CardStyleInterpolators,
3  createStackNavigator,
4} from '@react-navigation/stack';
5    
6const Stack = createStackNavigator();
7export default () => (
8  <Stack.Navigator
9    screenOptions={{
10      cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS
11    }}
12  >
13    <Stack.Screen name="Screen 1" component={ScreenComponent1} />
14    <Stack.Screen name="Screen 2" component={ScreenComponent2} />
15  </Stack.Navigator>
16);
17