Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Allow custom tabStyle via props
  • Loading branch information
rturk committed Jan 21, 2016
commit 7378a6ad5a76ef36d115e275ddc32cd1c5000d05
2 changes: 1 addition & 1 deletion TabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class TabBar extends React.Component {
return <View/>
}
return (
<Tabs style={[{backgroundColor:'white'}, this.props.style]} onSelect={this.onSelect.bind(this)} {...this.props}>
<Tabs style={[{backgroundColor:'white'}, this.props.tabBarStyle]} onSelect={this.onSelect.bind(this)} {...this.props}>
{this.state.children}
</Tabs>
);
Expand Down