React Native application that features a drawer navigation menu integrated with a bottom tab navigator and stack navigators for individual screens.
/src
├── navigation
│ ├── DrawerNavigator.tsx
│ ├── StackNavigator.tsx
│ ├── TabNavigator.tsx
├── screens
│ ├── ContactScreen.tsx
│ ├── DrawerContent.tsx
│ ├── HomeScreen.tsx
│ ├── Screen1.tsx
│ ├── Screen2.tsx
├── App.tsx
- Node.js (v16 or later)
- Expo CLI installed globally (
npm install -g expo-cli)
-
Clone the repository:
git clone <repository-url> cd <project-directory>
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Run the application:
- For iOS: Press
ito open in the iOS simulator (Mac only). - For Android: Press
ato open in an Android emulator or connected device. - For Web: Press
wto open in the browser.
- For iOS: Press
- Open the app and click the hamburger icon to reveal the drawer.
- Navigate between the tabs (Home and Contact).
- Within the Home tab, navigate through the stack screens (Screen1, Screen2).
@react-navigation/native@react-navigation/drawer@react-navigation/bottom-tabs@react-navigation/stackreact-native-screensreact-native-gesture-handlerreact-native-reanimatedreact-native-safe-area-contextreact-native-vector-icons