Skip to content

Instantly share code, notes, and snippets.

@arunkmoury
Last active May 1, 2018
Embed
What would you like to do?
import React, { Component } from 'react';
import { View, Text } from 'react-native';
import {DrawerNavigator} from 'react-navigation';
import ScreenA from '../screens/ScreenA';
import ScreenB from '../screens/ScreenB';
import ScreenC from '../screens/ScreenC';
import drawerContentComponents from './drawerContentComponents';
export const DrawerNav = DrawerNavigator (
{
ScreenA:{ screen: ScreenA },
ScreenB:{ screen: ScreenB },
ScreenC:{ screen: ScreenC }
},
{
contentComponent: drawerContentComponents
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment