ReactNavDrawer icon indicating copy to clipboard operation
ReactNavDrawer copied to clipboard

How to make the route Dynamic of Drawer Navigation?

Open DalalAbadi opened this issue 7 years ago • 0 comments

I am using this function to send different parameters every time but I found the route page is always first page on the drawer pages

export const getDrawerConfig = (drawerWidth, drawerPosition, initialRouteName) => ({ drawerWidth, drawerPosition, initialRouteName, drawerOpenRoute: 'DrawerOpen', drawerCloseRoute: 'DrawerClose', drawerToggleRoute: 'DrawerToggle', });

I want make the route dynamic depend on function the parameter, how i can fix it ?

DalalAbadi avatar Feb 03 '18 16:02 DalalAbadi