Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override styles from selected tab props #1459

Closed
wants to merge 2 commits into from
Closed
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
Next Next commit
Allow to override styles from selected tab props
  • Loading branch information
Andris Praulitis authored Dec 7, 2016
commit 71e047da190a2f947be94885642c67e2abd95f47
6 changes: 3 additions & 3 deletions src/TabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ class TabBar extends Component {

const contents = (
<Tabs
style={state.tabBarStyle}
selectedIconStyle={state.tabBarSelectedItemStyle}
iconStyle={state.tabBarIconContainerStyle}
style={selected.tabBarStyle}
selectedIconStyle={selected.tabBarSelectedItemStyle}
iconStyle={selected.tabBarIconContainerStyle}
onSelect={this.onSelect} {...state}
selected={selected.sceneKey}
pressOpacity={this.props.pressOpacity}
Expand Down