aksonov / react-native-router-flux

The first declarative React Native router
MIT License
8.98k stars 2.11k forks source link

Knock knock! Anybody there? (Pass Props to Drawer Menu / Side Menu) #3540

Open gunduzcihat opened 5 years ago

gunduzcihat commented 5 years ago

Hi there,

How can I pass props to drawer / side menu?

Like this: Actions.drawerOpen({ alert: 'yes' });

What I want is that, creating multiple drawer / side menu. Because I have an app that has two features and every feature has own menu.

How can I do that?

grwimran commented 5 years ago

try this contentComponent = {() => <DrawerView logout={() => { this.logout()}} />}