text: import { createAppContainer } from 'react-navigation';
  import { createStackNavigator } from 'react-navigation-stack';
  
  import Cart from './pages/Cart';
  import Home from './pages/Home';
  
  const Routes = createAppContainer(
    createStackNavigator(
      {
        Home,
        Cart,
      },
      {
        headerLayoutPreset: 'center',
        headerBackTitleVisible: false,
        defaultNavigationOptions: {
          headerStyle: {
            backgroundColor: '#141419',
          },
          headerTintColor: '#FFF',
        },
      }
    )
  );
  
  export default Routes;
  