Drawer.js

PHOTO EMBED

Tue May 04 2021 11:48:08 GMT+0000 (Coordinated Universal Time)

Saved by @arsal

import React from 'react';
import {
  Button,
  DrawerLayoutAndroid,
  Text,
  TextInput,
  TouchableOpacity,
  View,
  StyleSheet
} from 'react-native'

import {createDrawerNavigator} from '@react-navigation/drawer'
const drawer = createDrawerNavigator()
import Home from './Home'

const Drawer = () =>
{
    return(
        <View>
          <drawer.Navigator>
              <drawer.Screen name="Home" componet={Home} />
              {/* <drawer.Screen name="Home" componet={Home} /> */}
          </drawer.Navigator>
        </View>
    )
}

export default Drawer
content_copyCOPY