diff --git a/src/sliding-tab/ExNavigationSlidingTab.js b/src/sliding-tab/ExNavigationSlidingTab.js index b90ce3f..46dc29f 100644 --- a/src/sliding-tab/ExNavigationSlidingTab.js +++ b/src/sliding-tab/ExNavigationSlidingTab.js @@ -38,6 +38,8 @@ type SlidingTabItem = { }; type Props = { + tabBarScrollEnabled?: boolean, + tabWidth?: number, barBackgroundColor?: string, children: Array>, indicatorStyle?: any, @@ -222,6 +224,9 @@ class ExNavigationSlidingTab extends PureComponent { this.props.renderLabel; const tabBarProps = { + tabBarScrollEnabled: this.props.tabBarScrollEnabled, + scrollEnabled: this.props.scrollEnabled, + tabWidth: this.props.tabWidth, pressColor: this.props.pressColor, indicatorStyle: this.props.indicatorStyle, renderIndicator: this.props.renderIndicator,