diff --git a/dist/navigationStore.js b/dist/navigationStore.js index 5da15142b..4ce7e6bc7 100644 --- a/dist/navigationStore.js +++ b/dist/navigationStore.js @@ -436,7 +436,7 @@ if(!tabBarComponent){ tabBarComponent=tabBarPosition==='top'?function(props){return _react2.default.createElement(_reactNavigation.TabBarTop,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:436}}));}: function(props){return _react2.default.createElement(_reactNavigation.TabBarBottom,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:437}}));}; } -return(0,_reactNavigation.TabNavigator)(res,_extends({lazy:lazy,initialRouteName:initialRouteName,initialRouteParams:initialRouteParams,order:order},commonProps,{ +return(0,_reactNavigation.TabNavigator)(res,_extends({lazy:lazy,tabBarComponent:tabBarComponent,tabBarPosition:tabBarPosition,initialRouteName:initialRouteName,initialRouteParams:initialRouteParams,order:order},commonProps,{ tabBarOptions:createTabBarOptions(commonProps),navigationOptions:createNavigationOptions(commonProps)})); }else if(drawer){ return(0,_reactNavigation.DrawerNavigator)(res,_extends({initialRouteName:initialRouteName,contentComponent:contentComponent,order:order},commonProps)); diff --git a/src/navigationStore.js b/src/navigationStore.js index 3bfe4b21a..277dcb5d8 100644 --- a/src/navigationStore.js +++ b/src/navigationStore.js @@ -436,7 +436,7 @@ class NavigationStore { tabBarComponent = tabBarPosition === 'top' ? (props) => : (props) => ; } - return TabNavigator(res, { lazy, initialRouteName, initialRouteParams, order, ...commonProps, + return TabNavigator(res, { lazy, tabBarComponent, tabBarPosition, initialRouteName, initialRouteParams, order, ...commonProps, tabBarOptions: createTabBarOptions(commonProps), navigationOptions: createNavigationOptions(commonProps) }); } else if (drawer) { return DrawerNavigator(res, { initialRouteName, contentComponent, order, ...commonProps });