diff --git a/index.js b/index.js index b0a0b022..71c4e87d 100644 --- a/index.js +++ b/index.js @@ -88,8 +88,12 @@ var ScrollableTabView = React.createClass({ this._updateScrollValue(position + offset); }} ref={(scrollView) => { this.scrollView = scrollView }}> - {this.props.children.map((child) => { - return {child} + {this.props.children.map((child,idx) => { + return + {child} + })} );