Skip to content

not working using <Tabs><View name="">  #55

@AndiDemon

Description

@AndiDemon

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions