Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. import { createDrawerNavigator } from 'react-navigation-drawer';
  2. import React from 'react';
  3. import DrawerScreen from '../component/Drawer';
  4.  
  5. export const MainDrawerNavigation = createDrawerNavigator(
  6. {
  7. Drawer: {
  8. screen: DrawerScreen
  9. }
  10. },
  11. {
  12. contentComponent: DrawerScreen,
  13. drawerWidth: width * 0.85,
  14. drawerType: 'slide',
  15. unmountInactiveRoutes: true,
  16. overlayColor: 'rgba(0,0,0, 0.6)'
  17. }
  18.  
  19.  
  20.  
  21. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement