ptomasroos / react-native-tab-navigator

A tab bar that switches between scenes, written in JS for cross-platform support
MIT License
2.4k stars 415 forks source link

Add ability to pass styles for each individual tab #67

Closed greg5green closed 8 years ago

greg5green commented 8 years ago

Why?

In one of our projects, there is a need to have a different background color for a selected tab (example below).

What changed?

screen shot 2016-04-26 at 9 17 21 pm
ide commented 8 years ago

We merged #73 instead -- similar API but no selectedTabStyle. You should be able to change the style you pass in when you re-render your app upon tab selection.