-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
59 lines (51 loc) · 1.53 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
import React from 'react'
import { StyleSheet, Text, View } from 'react-native'
import Login from './src/UI/Login'
import SignUp from './src/UI/SignUp'
import { NavigationContainer } from '@react-navigation/native'
import { createStackNavigator } from '@react-navigation/stack'
import Recover from './pages/recover/recover'
import Setting from './src/UI/Settings'
const Stack = createStackNavigator()
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Login" >
<Stack.Screen name="Login" component={Login} options={{
title: "Login",
headerTintColor: "#fff",
headerStyle: {
backgroundColor: "#141923",
}
}} />
<Stack.Screen options={{
title: "SignUp",
headerTintColor: "#fff",
headerStyle: {
backgroundColor: "#141923",
}
}} name="SignUp" component={SignUp} />
<Stack.Screen options={{
title: "Recover Password",
headerTintColor: "#fff",
headerStyle: {
backgroundColor: "#141923",
}
}} name="Recover" component={Recover} />
<Stack.Screen options={{
title: "Settings",
headerTintColor: "#fff",
headerStyle: {
backgroundColor: "#141923",
}
}} name="Setting" component={Setting} />
</Stack.Navigator>
</NavigationContainer>
)
}
const styles = StyleSheet.create({
container: {
width: "100%",
height: "100%",
},
})