Skip to content
New issue

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

Scene onPress doesn't work anymore? #2030

Closed
luco opened this issue Jul 14, 2017 · 2 comments
Closed

Scene onPress doesn't work anymore? #2030

luco opened this issue Jul 14, 2017 · 2 comments

Comments

@luco
Copy link
Contributor

luco commented Jul 14, 2017

I used to have an onPress on one of my Scenes, but is not working anymore.

<Scene key="add" component={Message}  title="Add" icon={TabIcon}  hideNavBar={true} 
   onPress={()=> {
   alert('a');
   return false;
}}></Scene>

Tips?

@aksonov
Copy link
Owner

aksonov commented Jul 14, 2017

Sorry, it was quite unclear syntax and it will not be supported by v4. v4 uses ReactNavigation TabNavigator as tabbar. You may pass own tabbar, please check TabNavigator docs.

@luco
Copy link
Contributor Author

luco commented Jul 14, 2017

Ok, thanks for the feedback!

@luco luco closed this as completed Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants