TabBar Navigator and Proper adding posts and comments
This commit is contained in:
4
App.js
4
App.js
@@ -9,6 +9,7 @@ import { NavigationContainer } from '@react-navigation/native';
|
||||
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
||||
import Login from "./Views/Login.js"
|
||||
import Feed from "./Views/Feed.js"
|
||||
import Profile from "./Views/Profile.js"
|
||||
import { createMaterialBottomTabNavigator } from '@react-navigation/material-bottom-tabs';
|
||||
|
||||
const Tab = createMaterialBottomTabNavigator();
|
||||
@@ -38,7 +39,8 @@ export default function App() {
|
||||
},
|
||||
})}
|
||||
/>
|
||||
<Tab.Screen name="Login" component={Login} />
|
||||
<Tab.Screen name="Profile" component={Profile} />
|
||||
<Tab.Screen name="Logou" component={Login} />
|
||||
</Tab.Navigator>
|
||||
</NavigationContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user