TabBar Navigator and Proper adding posts and comments

This commit is contained in:
aeroreyna
2022-03-08 20:20:17 -08:00
parent 983ac258b3
commit 82e0ded56c
8 changed files with 121 additions and 47 deletions

4
App.js
View File

@@ -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>
);