You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@awiss - it is expecting the content to be nested inside of the TabBarIOS.Item - sorry for unclear docs, I will be fixing that soon.
render: function(){return(<TabBarIOS><TabBarIOS.Itemselected={this.state.name=="Trips"}name="Trips"title="Trips"systemIcon="featured"onPress={()=>{this.onPressTab('Trips')}}><Viewstyle={{flex: 1,backgroundColor: 'white'}}><Text>Hi from trips</Text></View></TabBarIOS.Item><TabBarIOS.Itemselected={this.state.name=="Brokers"}name="Brokers"systemIcon="contacts"title="Brokers"onPress={()=>{this.onPressTab('Brokers')}}><Viewstyle={{flex: 1,backgroundColor: 'white'}}><Text>Hi from brokers</Text></View></TabBarIOS.Item><TabBarIOS.ItemsystemIcon="more"selected={this.state.name=="More"}onPress={()=>{this.onPressTab('More')}}><Viewstyle={{flex: 1,backgroundColor: 'white'}}><Text>Hi from more</Text></View></TabBarIOS.Item></TabBarIOS>)},
My element looks like this
The failure occurs whenever the selected property on the 2nd or 3rd item evaluates to true.
The text was updated successfully, but these errors were encountered: