Skip to content

Commit

Permalink
add tabBarBackgroundImageStyle prop (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulwu authored and aksonov committed Mar 2, 2017
1 parent 6b6a34f commit 1e7f4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class TabBar extends Component {
/>
{!hideTabBar && state.children.filter(el => el.icon).length > 0 &&
(state.tabBarBackgroundImage ? (
<Image source={state.tabBarBackgroundImage}>
<Image source={state.tabBarBackgroundImage} style={state.tabBarBackgroundImageStyle}>
{contents}
</Image>
) : contents)
Expand Down

0 comments on commit 1e7f4fc

Please sign in to comment.