1
+ import { StatusBar } from "expo-status-bar" ;
2
+ import React from "react" ;
1
3
import { SafeAreaView , StyleSheet } from "react-native" ;
4
+ import styled from "styled-components/native" ;
5
+
6
+ import { NavigationContainer } from "@react-navigation/native" ;
7
+ import { createNativeStackNavigator } from "@react-navigation/native-stack" ;
2
8
3
9
import Chat from "./screens/Chat" ;
4
10
import Feedback from "./screens/Feedback" ;
5
11
import History from "./screens/History" ;
6
12
import Home from "./screens/Home" ;
7
13
import Matching from "./screens/Matching" ;
8
- import { NavigationContainer } from "@react-navigation/native" ;
9
- import React from "react" ;
10
- import { StatusBar } from "expo-status-bar" ;
11
- import { createNativeStackNavigator } from "@react-navigation/native-stack" ;
12
- import styled from "styled-components/native" ;
14
+ import MyPage from "./screens/MyPage" ;
13
15
14
16
export type RootStackParamList = {
15
17
Home : undefined ;
16
18
Matching : undefined ;
17
19
Chat : undefined ;
18
20
Feedback : undefined ;
19
21
History : undefined ;
22
+ MyPage : undefined ;
20
23
} ;
21
24
22
25
const SafeAreaViewContainer = styled ( SafeAreaView ) `
@@ -40,6 +43,7 @@ export default function App() {
40
43
< Stack . Screen name = "Chat" component = { Chat } />
41
44
< Stack . Screen name = "Feedback" component = { Feedback } />
42
45
< Stack . Screen name = "History" component = { History } />
46
+ < Stack . Screen name = "MyPage" component = { MyPage } />
43
47
</ Stack . Navigator >
44
48
</ NavigationContainer >
45
49
</ SafeAreaViewContainer >
0 commit comments