Skip to content

Instantly share code, notes, and snippets.

Arun Kumar arunkmoury

Block or report user

Report or block arunkmoury

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DrawerNav.js
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 (
View drawerContentComponents.js
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({
View App.js
import React, { Component } from 'react';
import {
} from 'react-native';
import { DrawerNav } from './src/navigation/DrawerNav';
export default class App extends Component {
You can’t perform that action at this time.