diff --git a/src/RichToolbar.js b/src/RichToolbar.js index cc70f1a..4bfb0e0 100755 --- a/src/RichToolbar.js +++ b/src/RichToolbar.js @@ -253,19 +253,19 @@ export default class RichToolbar extends Component { } render() { - const {style, disabled, children, flatContainerStyle} = this.props; + const {style, disabled, children, flatContainerStyle, horizontal} = this.props; const vStyle = [styles.barContainer, style, disabled && this._getButtonDisabledStyle()]; return ( item.action + '-' + index} data={this.state.data} alwaysBounceHorizontal={false} showsHorizontalScrollIndicator={false} renderItem={({item}) => this._renderAction(item.action, item.selected)} - contentContainerStyle={flatContainerStyle} /> {children}