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

dynamic call Scene #2797

Closed
cihanbas opened this issue Jan 15, 2018 · 1 comment
Closed

dynamic call Scene #2797

cihanbas opened this issue Jan 15, 2018 · 1 comment

Comments

@cihanbas
Copy link

cihanbas commented Jan 15, 2018

Version

Tell us which versions you are using:

  • "react-native-router-flux": "^4.0.0-beta.25",
  • "react-native": "^0.51.0",

Expected behaviour

Hı I have a problems I want the dynamic call Scene

  {menu ? menu.map((item, idx) =>
                    <MenuItems
                        onPress={()=>Actions.item.screen}
                        key={idx}
                        title={item.title}
                        item={item}}/>
                ) : void 0
                }
@cihanbas cihanbas changed the title dynamic call Sceene dynamic call Scene Jan 15, 2018
@cihanbas
Copy link
Author

cihanbas commented Jan 15, 2018

##Solved


{menu ? menu.map((item, idx) =>
<MenuItems onPress={()=> Actions[item.screen].call();}

                        key={idx}
                        title={item.title}
                        item={item}}/>
                ) : void 0
                }

@Blapi Blapi closed this as completed Jan 15, 2018
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