Skip to content

Commit

Permalink
bottom tab navigation edited
Browse files Browse the repository at this point in the history
  • Loading branch information
rushik008 committed Aug 27, 2022
1 parent ed2171d commit 84040ef
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 57 deletions.
72 changes: 16 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"react": "17.0.2",
"react-native": "^0.68.2",
"react-native-gesture-handler": "^2.4.2",
"react-native-material-menu": "^2.0.0",
"react-native-pager-view": "^5.4.24",
"react-native-safe-area-context": "^4.3.1",
"react-native-screens": "^3.13.1",
Expand Down
1 change: 1 addition & 0 deletions src/Routes/BottomTabNavigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const BottomTabNavigation = () => {
}
},
})}>

<Tab.Screen
name="HomeScreen"
component={HomeStackScreen}
Expand Down
1 change: 1 addition & 0 deletions src/Routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import ChatStackScreen from './ChatStackScreen';
import AddPostStackScreen from './AddPostStack';

const RootStackScreen = () => {

const RootStack = createStackNavigator();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Tab = createMaterialTopTabNavigator();

const TopNavigationBar = () => {
return (
<Tab.Navigator>
<Tab.Navigator initialRouteName={UserPosts}>
<Tab.Screen
name="Posts"
component={UserPosts}
Expand Down

0 comments on commit 84040ef

Please # to comment.