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 CurrentJobScreen from "../screens/CurrentJobScreen";
  import PendingJobsScreen from "../screens/PendingJobsScreen";
  
  const HomeStack = createStackNavigator({
    Home: HomeScreen,
  });
  
  HomeStack.navigationOptions = {
    tabBarLabel: 'Home',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={
          Platform.OS === 'ios'
            ? `ios-information-circle${focused ? '' : '-outline'}`
            : 'md-information-circle'
        }
      />
    ),
  };
  
  const JobStack = createStackNavigator({
    Job: CurrentJobScreen,
  });
  
  JobStack.navigationOptions = {
    tabBarLabel: 'Job',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-link' : 'md-link'}
      />
    ),
  };
  
  const PendingStack = createStackNavigator({
    Pending: PendingJobsScreen,
  });
  
  PendingStack.navigationOptions = {
    tabBarLabel: 'Pending',
    tabBarIcon: ({ focused }) => (
      <TabBarIcon
        focused={focused}
        name={Platform.OS === 'ios' ? 'ios-options' : 'md-options'}
      />
    ),
  };
  
  export default createBottomTabNavigator({
    HomeStack,
    LinksStack: JobStack,
    SettingsStack: PendingStack,
  });
  