Skip to content

Instantly share code, notes, and snippets.

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 (
import React, { Component } from 'react';
import {NavigationActions} from 'react-navigation';
import { Text, View, StyleSheet, ImageBackground } from 'react-native'
import { white } from 'ansi-colors';
export default class drawerContentComponents extends Component {
navigateToScreen = ( route ) =>(
() => {
const navigateAction = NavigationActions.navigate({
import React, { Component } from 'react';
import {
Platform,
StyleSheet,
Text,
View
} from 'react-native';
import { DrawerNav } from './src/navigation/DrawerNav';
export default class App extends Component {