You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.
In the meantime @amanthegreatone, this is how I did it (only showing relevant props):
import{TabBarTop}from'react-native-tab-view';import{SlidingTabNavigation,SlidingTabNavigationItem}from'@exponent/ex-navigation';constrenderHeader=(props)=>{const{style}=this.props;return(<TabBarTopscrollEnabledrenderLabel={this.renderLabel}{...props}/>);};consttabs=(props)=>{<SlidingTabNavigationrenderHeader={renderHeader}><SlidingTabNavigationItem>{*/things go here*/}</SlidingTabNavigationItem></SlidingTabNavigation>}
the
scrollEnabled
prop should allow a tabbar to have scrollable tabs, but currently they just scrunch together.I over-rode the header and it seems to work, via the
renderHeader
prop in<SlidingTabNavigation>
The text was updated successfully, but these errors were encountered: