We built a library for our project using react-native-tab-view because we felt it was not like this library and the developers need it a lot.
A cross-platform Tab View component for React Native. IOS / ANDROID
both is work greate
Befor inistall react-native-tab-view then =>
npm i rn-tabview-scrollable
<TabViewScrollable
onIndexChange={ind => this.setState({ index :ind})}
navigationState={this.state}
renderScene={(route)=>this._scene(route,this.props.navigation)}
topHeader={this._header()}
_renderIcon={this._renderIcon}
_renderText={this._renderText}
activeColor={'#ff7675'}
inactiveColor={'#b2bec3'}
_indicatorStyle={{ backgroundColor: '#EA2027' }}
_styleTab={{ backgroundColor: '#fff' }}
colorStyle={'#ffff'}
/>
Copyright reserved for 1001 (onethousandandone).