react-native-tab-view
react-native-tab-view copied to clipboard
styling text label on a tab bar
It seems the texts automatically becomes capital letters even if they were small letters.. How do u keep the text labels small letter?
@ochanje210 You can use the renderLabel prop of <TabBarTop /> to return a react element.
e.g. - renderLabel={route => <Text style={{ margin: 8 }}>{route.title}</Text>}
@satya164 I appreciate your help!!
In the most recent version, it should be {route.route.title}
In the most recent version, it should be
{route.route.title}
Bless you :)