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

Commit 2af0c56

Browse files
AurelienECsatya164
authored andcommitted
fix: pass down tabStyle prop correctly. closes #689
1 parent e2b3af9 commit 2af0c56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Boolean indicating whether the tab bar bounces when scrolling.
382382

383383
##### `tabStyle`
384384

385-
Style to apply to the individual tabs in the tab bar.
385+
Style to apply to the individual tab items in the tab bar.
386386

387387
##### `indicatorStyle`
388388

src/TabBarItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default function TabBarItem<T: Route>({
201201
onLongPress={onLongPress}
202202
style={tabContainerStyle}
203203
>
204-
<View pointerEvents="none" style={[styles.item, itemStyle]}>
204+
<View pointerEvents="none" style={[styles.item, itemStyle, tabStyle]}>
205205
{icon}
206206
{label}
207207
{badge != null ? <View style={styles.badge}>{badge}</View> : null}

0 commit comments

Comments
 (0)