text: import React from 'react';
  import { Platform } from 'react-native';
  import { createStackNavigator, createBottomTabNavigator } from 'react-navigation';
  
  import TabBarIcon from '../components/TabBarIcon';
  import HomeScreen from '../screens/HomeScreen';
  import MenuScreen from '../screens/MenuScreen';
  import LinksScreen from '../screens/LinksScreen';
  import SettingsScreen from '../screens/SettingsScreen';
  import ProfileScreen from '../screens/SettingsScreen';
  
  const HomeStack = createStackNavigator({
    Home: HomeScreen,
    Menu: MenuScreen,
  });
  
  HomeStack.navigationOptions = {
    tabBarLabel: 'Home',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-home' : 'md-home'}
      />
    ),
  };
  
  const LinksStack = createStackNavigator({
    Links: LinksScreen,
  });
  
  LinksStack.navigationOptions = {
    tabBarLabel: 'Links',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-search' : 'md-search'}
      />
    ),
  };
  
  const SettingsStack = createStackNavigator({
    Settings: SettingsScreen,
  });
  
  SettingsStack.navigationOptions = {
    tabBarLabel: 'Settings',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-basket' : 'md-basket'}
      />
    ),
  };
  
  const ProfileStack = createStackNavigator({
    Profile: ProfileScreen,
  });
  
  ProfileStack.navigationOptions = {
    tabBarLabel: 'Profile',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-person' : 'md-person'}
      />
    ),
  };
  
  export default createBottomTabNavigator(
    {
      HomeStack,
      LinksStack,
      SettingsStack,
      ProfileStack,
    },
    {
      tabBarOptions: {
        showLabel: false
      }
    });
  