import * as React from 'react'; import { createStackNavigator } from '@react-navigation/stack'; import NavigationString from '../Constant/NavigationString'; import Screens from '../Screens'; import colors from '../Constant/Color'; import BottomTab from './Bottom'; export default function MainStack() { const Stack = createStackNavigator(); const option = { headerShown: false }; const fadeTransition = { gestureDirection: 'horizontal', transitionSpec: { open: { animation: 'timing', config: { duration: 300 } }, close: { animation: 'timing', config: { duration: 300 } }, }, cardStyleInterpolator: ({ current }) => ({ cardStyle: { opacity: current.progress, }, }), }; return ( ); }