-
Notifications
You must be signed in to change notification settings - Fork 1
/
AppStackNavigator.js
34 lines (30 loc) · 1.55 KB
/
AppStackNavigator.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import HomeScreen from "./screens/HomeScreen";
import LeaderBoardScreen from "./screens/LeaderBoardScreen";
import StatsScreen from "./screens/StatsScreen";
import DiscussionsScreen from "./screens/DiscussionsScreen";
import ProposalsScreen from "./screens/ProposalsScreen";
import RewardsScreen from "./screens/RewardsScreen";
import AboutScreen from "./screens/AboutScreen";
import SearchScreen from "./screens/SearchScreen";
import ProfileScreen from "./screens/ProfileScreen"
function AppStackNavigator (){
const Stack = createNativeStackNavigator();
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="home" component={HomeScreen} options={{headerShown: false}} />
<Stack.Screen name="Leaderboard" component={LeaderBoardScreen} />
<Stack.Screen name="Stats" component={StatsScreen} />
<Stack.Screen name="Discussions" component={DiscussionsScreen} />
<Stack.Screen name="Proposals" component={ProposalsScreen} />
<Stack.Screen name="Rewards" component={RewardsScreen} />
<Stack.Screen name="About T2C" component={AboutScreen} />
<Stack.Screen name="Search" component={SearchScreen} />
<Stack.Screen name="Profile" component={ProfileScreen} />
</Stack.Navigator>
</NavigationContainer>
)
}
export default AppStackNavigator