@@ -218,7 +218,8 @@ res.header=null;
218218}
219219
220220if ( navTransparent ) {
221- res . headerStyle = { position :'absolute' , backgroundColor :'transparent' , zIndex :100 , top :0 , left :0 , right :0 } ;
221+ res . headerStyle = { position :'absolute' , backgroundColor :'transparent' , zIndex :100 , top :0 , left :0 , right :0 ,
222+ borderBottomWidth :0 , elevation :1 } ;
222223}
223224return res ;
224225} ;
@@ -273,15 +274,15 @@ store.deleteRef(originalRouteName(navigation.state.routeName));
273274} } , { key :'render' , value :function render ( )
274275{ var _this2 = this ;
275276var navigation = this . props . navigation ;
276- return _react2 . default . createElement ( Component , _extends ( { ref :function ref ( _ref5 ) { return _this2 . ref = _ref5 ; } } , this . props , extendProps ( navigation . state . params , store ) , { name :navigation . state . routeName , __source :{ fileName :_jsxFileName , lineNumber :276 } } ) ) ;
277+ return _react2 . default . createElement ( Component , _extends ( { ref :function ref ( _ref5 ) { return _this2 . ref = _ref5 ; } } , this . props , extendProps ( navigation . state . params , store ) , { name :navigation . state . routeName , __source :{ fileName :_jsxFileName , lineNumber :277 } } ) ) ;
277278} } ] ) ; return Wrapped ; } ( _react2 . default . Component ) , _class . propTypes = { navigation :_propTypes2 . default . object } , _temp ) ;
278279
279280return wrapper ( Wrapped ) ;
280281}
281282
282283
283284function StatelessWrapped ( _ref6 ) { var navigation = _ref6 . navigation , props = _objectWithoutProperties ( _ref6 , [ 'navigation' ] ) ;
284- return _react2 . default . createElement ( Component , _extends ( { } , props , { navigation :navigation } , extendProps ( navigation . state . params , store ) , { name :navigation . state . routeName , __source :{ fileName :_jsxFileName , lineNumber :284 } } ) ) ;
285+ return _react2 . default . createElement ( Component , _extends ( { } , props , { navigation :navigation } , extendProps ( navigation . state . params , store ) , { name :navigation . state . routeName , __source :{ fileName :_jsxFileName , lineNumber :285 } } ) ) ;
285286}
286287StatelessWrapped . propTypes = {
287288navigation :_propTypes2 . default . object } ;
@@ -475,8 +476,8 @@ if(lightbox){
475476return ( 0 , _LightboxNavigator2 . default ) ( res , _extends ( { mode :mode , initialRouteParams :initialRouteParams , initialRouteName :initialRouteName } , commonProps , { navigationOptions :createNavigationOptions ( commonProps ) } ) ) ;
476477} else if ( tabs ) {
477478if ( ! tabBarComponent ) {
478- tabBarComponent = tabBarPosition === 'top' ?function ( props ) { return _react2 . default . createElement ( _reactNavigation . TabBarTop , _extends ( { } , props , commonProps , { __source :{ fileName :_jsxFileName , lineNumber :478 } } ) ) ; } :
479- function ( props ) { return _react2 . default . createElement ( _reactNavigation . TabBarBottom , _extends ( { } , props , commonProps , { __source :{ fileName :_jsxFileName , lineNumber :479 } } ) ) ; } ;
479+ tabBarComponent = tabBarPosition === 'top' ?function ( props ) { return _react2 . default . createElement ( _reactNavigation . TabBarTop , _extends ( { } , props , commonProps , { __source :{ fileName :_jsxFileName , lineNumber :479 } } ) ) ; } :
480+ function ( props ) { return _react2 . default . createElement ( _reactNavigation . TabBarBottom , _extends ( { } , props , commonProps , { __source :{ fileName :_jsxFileName , lineNumber :480 } } ) ) ; } ;
480481}
481482if ( ! tabBarPosition ) {
482483tabBarPosition = _reactNative . Platform . OS === 'android' ?'top' :'bottom' ;
0 commit comments