File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
/* @flow */
2
2
import React from 'react' ;
3
3
import { Platform } from 'react-native' ;
4
- import { TabNavigator , TabBarBottom } from 'react-navigation' ;
4
+ import { createBottomTabNavigator } from 'react-navigation' ;
5
5
6
6
import type { TabNavigationOptionsPropsType } from '../types' ;
7
7
import tabsOptions from '../styles/tabs' ;
@@ -12,7 +12,7 @@ import SettingsCard from '../settings/SettingsCard';
12
12
import { IconHome , IconStream , IconSettings } from '../common/Icons' ;
13
13
import IconUnreadConversations from '../nav/IconUnreadConversations' ;
14
14
15
- export default TabNavigator (
15
+ export default createBottomTabNavigator (
16
16
{
17
17
home : {
18
18
screen : HomeTab ,
@@ -53,8 +53,6 @@ export default TabNavigator(
53
53
} ,
54
54
{
55
55
backBehavior : 'none' ,
56
- tabBarComponent : TabBarBottom ,
57
- tabBarPosition : 'bottom' ,
58
56
...tabsOptions ( {
59
57
showLabel : ! ! Platform . isPad ,
60
58
showIcon : true ,
You can’t perform that action at this time.
0 commit comments