Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createDrawerNavigator } from 'react-navigation-drawer';
- import React from 'react';
- import DrawerScreen from '../component/Drawer';
- export const MainDrawerNavigation = createDrawerNavigator(
- {
- Drawer: {
- screen: DrawerScreen
- }
- },
- {
- contentComponent: DrawerScreen,
- drawerWidth: width * 0.85,
- drawerType: 'slide',
- unmountInactiveRoutes: true,
- overlayColor: 'rgba(0,0,0, 0.6)'
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement