diff --git a/src/TabBar.tsx b/src/TabBar.tsx index 585c9ab2..1a37afeb 100644 --- a/src/TabBar.tsx +++ b/src/TabBar.tsx @@ -55,6 +55,7 @@ export type Props = SceneRendererProps & { labelStyle?: StyleProp; contentContainerStyle?: StyleProp; style?: StyleProp; + indicatorContainerStyle?: StyleProp; }; type State = { @@ -226,6 +227,7 @@ export default class TabBar extends React.Component< indicatorStyle, contentContainerStyle, style, + indicatorContainerStyle, } = this.props; const { layout } = this.state; const { routes } = navigationState; @@ -252,6 +254,7 @@ export default class TabBar extends React.Component< : scrollEnabled ? { width: tabBarWidthPercent } : null, + indicatorContainerStyle, ]} > {this.props.renderIndicator({