Created
April 8, 2023 20:25
-
-
Save alperbayram/ed9fcc7c68fd3243c3cf3ef5011076a7 to your computer and use it in GitHub Desktop.
bottom tab1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; | |
| import Home from "../../screens/Home"; | |
| import Profile from "../../screens/Profile"; | |
| import ProfileSettings from "../../screens/Settings"; | |
| const Tab = createBottomTabNavigator(); | |
| export const BottomTabNavigator = () => { | |
| return ( | |
| <Tab.Navigator bgColor="white"> | |
| <Tab.Screen name="Profile" component={Profile} /> | |
| <Tab.Screen name="Home" component={Home} /> | |
| <Tab.Screen name="ProfileSetting" component={ProfileSettings} /> | |
| </Tab.Navigator> | |
| ); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment