ptomasroos / react-native-scrollable-tab-view

Tabbed navigation that you can swipe between, each tab can have its own ScrollView and maintain its own scroll position between swipes. Pleasantly animated. Customizable tab bar
https://www.npmjs.com/package/react-native-scrollable-tab-view
6.94k stars 2.29k forks source link

如何自定义tab文字的样式呢,不仅仅是改变字体颜色和粗细。而是完全自定义? #1112

Closed shenggaowei closed 2 years ago

shenggaowei commented 4 years ago

Steps to Reproduce

Expected Behavior

Actual Behavior

vobear commented 4 years ago

`<ScrollableTabView ref={(c) => { this.tabView = c; }} renderTabBar={() => ( <CustomTabBar tabs={labelList} /> )} //自定义的tab

{labelList.map((item, index) => { return (

item

); })} `