We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7d8c72 commit a181e1bCopy full SHA for a181e1b
DefaultTabBar.js
@@ -44,8 +44,8 @@ var DefaultTabBar = React.createClass({
44
var isTabActive = this.props.activeTab === page;
45
46
return (
47
- <TouchableOpacity key={name} onPress={() => this.props.goToPage(page)}>
48
- <View style={[styles.tab]}>
+ <TouchableOpacity style={[styles.tab]} key={name} onPress={() => this.props.goToPage(page)}>
+ <View>
49
<Text style={{color: isTabActive ? 'navy' : 'black', fontWeight: isTabActive ? 'bold' : 'normal'}}>{name}</Text>
50
</View>
51
</TouchableOpacity>
0 commit comments