We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tell us which versions you are using:
main.js:
<Router navBar={navBar}> <Scene lazy key="Root"> <Scene lazy showIcon={true} tabs hideNavBar key="TabBar"> <Scene key="myFeedRouter" title="My feed" tabBarIcon={iconHome}><Scene duration={0} key="myFeed" component={myFeed}/></Scene> <Scene key="hotNewsRouter" title="Hot news" tabBarIcon={iconPopular}><Scene duration={0} key="hotNews" component={hotNews}/></Scene> </Scene> <Scene backBtn={true} clone duration={0} key="discussion" component={discussion}/> <Scene backBtn={true} clone duration={0} key="profile" component={profile}/> </Scene> </Router>
navBar:
const navBar = (data) => { return ( <TouchableOpacity onPress={() => {Actions.pop()}}> <Image style={{marginLeft: 8, width: 20, height: 20}} source={require('./img/back.png')}/> </TouchableOpacity> ); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Tell us which versions you are using:
Expected behaviour
main.js:
navBar:
Actual behaviour
The text was updated successfully, but these errors were encountered: