-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
I am new in react-native and using this plugin,
it simply work to my code,
the simple code using on the is totally work.
but somehow I need to insert inside the , but it is not possible in react, so I changed the code to any other code and found the error "undefined is not an object (evaluating 'el.props.name')", how it used to be? to using inside the
this is my Code
<Tabs selected={this.state.page} style={{backgroundColor:'white'}} selectedStyle={{color:'red'}} onSelect={el=>this.setState({page:el.props.name})}> <View name="cerita"> <Text>Cerita</Text> </View> <View name="search"> <Text>Search</Text> </View> <View name="notify" selectedStyle={{color:'green'}}><Text>Belum</Text></View> </Tabs>
PhamLinh0889 and ziyafenn
Metadata
Metadata
Assignees
Labels
No labels