how to pass down props react natvie router code example
Example: router flux pass props stack react native
<Drawer
ref="navigation"
type="overlay"
content={<DrawerNav />}
tapToClose={true}
openDrawerOffset={0.2}
panCloseMask={0.2}
negotiatePan={true}
closedDrawerOffset={-3}
styles={drawerStyles}
tweenHandler={(ratio) => ({
main: { opacity:Math.max(0.54,1-ratio) }
})}
>
<Router>
<Scene key="root">
<Scene key="login" component={Login} title="Login" initial={true}/>
<Scene key="poi" component={Poi} title="POI"/>
<Scene key="fullPoi" component={PoiDetail} title="POI Detail"/>
<Scene key="newPoi" component={NewPoi} title="Add New POI"/>
<Scene key="activity" component={Activity} title="Activity"/>
</Scene>
</Router>
</Drawer>