-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
63 lines (60 loc) · 2.55 KB
/
App.tsx
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
*/
import React from 'react';
import Login from './src/app/login/page'
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Community from './src/app/community/page';
import Post from './src/app/community/Post';
import EditPost from './src/app/community/EditPost';
import AddTag from './src/app/community/AddTag';
import Review from './src/app/review/page';
import Write from './src/app/review/create/Write';
import KeywordReview from './src/app/review/create/Keyword';
import Search from './src/app/search/page';
import NavBar from './src/components/NavBar';
import Signup from './src/app/signup/page';
import QAndADetail from './src/app/review/question/Detail'
import QuestionTagGather from './src/app/review/question/QuestionTagGather';
import QuestionWrite from './src/app/review/question/Write'
import QueryProvider from './src/utils/query/Provider';
import ReduxProvider from './src/utils/store/Provider';
import MyPage from './src/app/mypage/page';
function App(): React.JSX.Element {
const Stack = createNativeStackNavigator();
return (
<QueryProvider>
<ReduxProvider>
<NavigationContainer>
<Stack.Navigator
<<<<<<< Updated upstream
screenOptions={{ headerShown: false }}
initialRouteName="Review">
=======
screenOptions={{headerShown: false}}
initialRouteName="Signup">
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="Signup" component={Signup} />
<Stack.Screen name="NavBar" component={NavBar} />
<Stack.Screen name="Community" component={Community} />
<Stack.Screen name="Post" component={Post} />
<Stack.Screen name="EditPost" component={EditPost} />
<Stack.Screen name="AddTag" component={AddTag} />
<Stack.Screen name="Review" component={Review} />
<Stack.Screen name="ReviewWrite" component={Write} />
<Stack.Screen name="Search" component={Search} />
<Stack.Screen name="KeywordReview" component={KeywordReview} />
<Stack.Screen name="QAndADetail" component={QAndADetail} />
<Stack.Screen name="QuestionTagGather" component={QuestionTagGather} />
<Stack.Screen name="QuestionWrite" component={QuestionWrite} />
</Stack.Navigator>
</NavigationContainer>
</ReduxProvider>
</QueryProvider>
);
}
export default App;