text: import { createBottomTabNavigator, createAppContainer } from "react-navigation";
  import Icon from "react-native-vector-icons/FontAwesome";
  import Icon2 from 'react-native-vector-icons/Feather';
  import React from 'react';
  
  import { navigation as newsNavigation } from "./news/index";
  import { navigation as scheduleNavigation } from "./schedule/index";
  import { navigation as settingsNavigation } from "./settings/index";
  
  
  const bottomTabNavigation = createBottomTabNavigator(
    {
      Novice: {
        screen: newsNavigation,
        navigationOptions: {
          tabBarIcon: ({ tintColor }) => (
            <Icon name="newspaper-o" size={20} color={tintColor} />
          )
        }
      },
      Urnik: {
        screen: scheduleNavigation,
        navigationOptions: {
          tabBarIcon: ({ tintColor }) => (
            <Icon name="calendar" size={20} color={tintColor} />
          )
        }
      },
      Vec: {
        screen: settingsNavigation,
        navigationOptions: {
          tabBarIcon: ({ tintColor }) => (
            <Icon2 name="more-horizontal" size={20} color={tintColor} />
          )
        }
      },
    },
    {
      defaultNavigationOptions: ({ navigation }) => ({
        tabBarOptions: {
          showLabel: true,
          activeTintColor: 'orange',
          inactiveTintColor: 'grey',
          style: {
            backgroundColor: 'black',
          }
        }
      })
    }
  );
  
  
  export default createAppContainer(bottomTabNavigation);