Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
fix: pass down tabStyle prop correctly. closes #689
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienEC authored and satya164 committed Feb 24, 2019
1 parent e2b3af9 commit 2af0c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -382,7 +382,7 @@ Boolean indicating whether the tab bar bounces when scrolling.

##### `tabStyle`

Style to apply to the individual tabs in the tab bar.
Style to apply to the individual tab items in the tab bar.

##### `indicatorStyle`

Expand Down
2 changes: 1 addition & 1 deletion src/TabBarItem.js
Expand Up @@ -201,7 +201,7 @@ export default function TabBarItem<T: Route>({
onLongPress={onLongPress}
style={tabContainerStyle}
>
<View pointerEvents="none" style={[styles.item, itemStyle]}>
<View pointerEvents="none" style={[styles.item, itemStyle, tabStyle]}>
{icon}
{label}
{badge != null ? <View style={styles.badge}>{badge}</View> : null}
Expand Down

0 comments on commit 2af0c56

Please sign in to comment.