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