import { createBottomTabNavigator } from 'react-navigation' ; import { Tabbar } from '../components/Tabbar/Tabbar' ; import { ContactsScreen } from '@src/pages/Contacts/ContactsScreen' ; import { SettingsScreen } from '@src/pages/Settings/SettingsScreen' ; export const TabsNavigator = createBottomTabNavigator ( { Contacts : { screen : ContactsScreen , } , Settings : { screen : SettingsScreen , } , } , { tabBarComponent : Tabbar , } ) ;