I am using react-native-router-flux for the navigation in my react-native mobile app.
I want to call Actions.sceneKey()
from drawer using a variable sceneKey
which will be based on the store state.
Let's say, there are 3 menus in drawer:
- menu1
- menu2
- menu3
I just want to call Actions.{{ selectedMenu }}
, is this somehow possible?