You should use the "style"-Property on the Scene for that.
This is how i do a black TabBar with white Icons and white font:
<Scene key='mainScenes'
hideNavBar={false}
navigationBarStyle={{ backgroundColor: COLORS.HEADER_BACKGROUND}}
leftButtonIconStyle = {{ tintColor:'white'}}
titleStyle={{color: 'white', fontSize: normalize(14), fontWeight: 'bold'}}
tabs={true}
translucent={false}
style={s.tabbar}
>
<Scene icon={TabIcon} key='events' hideNavBar={false} title='Events' titleStyle={{color:'white'}}
navigationBarStyle={{ backgroundColor: COLORS.HEADER_BACKGROUND}}
component={EventsViewScene} sceneStyle={getScreenContainerStyle()} >
</Scene>
<Scene icon={TabIcon} key='locations' hideNavBar={false} title='Locations' titleStyle={{color:'white'}}
navigationBarStyle={{ backgroundColor: COLORS.HEADER_BACKGROUND}}
component={LocationsViewScene} sceneStyle={getScreenContainerStyle()}
/>
<Scene icon={TabIcon} key='search' hideNavBar={false} title='Search' titleStyle={{color:'white'}}
navigationBarStyle={{ backgroundColor: COLORS.HEADER_BACKGROUND}}
component={SearchViewScene} sceneStyle={getScreenContainerStyle()}
initial={false}
/>
<Scene icon={TabIcon} key='more' hideNavBar={false} title='More' titleStyle={{color:'white'}}
navigationBarStyle={{ backgroundColor: COLORS.HEADER_BACKGROUND}}
component={InfoViewScene} sceneStyle={getScreenContainerStyle()}
initial={false}
/>
</Scene>
The StyleSheet:
const s = StyleSheet.create({
tabIcon: {
justifyContent: 'center',
alignItems: 'center',
},
rightButton: {
justifyContent: 'center',
alignItems: 'center',
width: normalize(23),
height: normalize(23),
},
tabbar: {
backgroundColor: 'black',
borderTopColor: 'white',
borderTopWidth: 2,
},
TabIcon:
const icons = {
'search': 'search',
'events': 'calendar',
'locations': 'map-marker',
'more': 'info-circle'
}
// Application
class TabIcon extends React.Component {
render(){
const {name, title} = this.props;
const iconName = icons[name] || 'info-circle'
return (
<View style={s.tabIcon}>
<Icon name={iconName} size={TAB_ICON_SIZE} color="white" />
<Text style={{color: this.props.selected ? 'yellow' :'white'}}>{title}</Text>
</View>
);
}
}