-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
41 lines (36 loc) · 966 Bytes
/
App.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
35
36
37
38
39
40
41
import { createStackNavigator } from '@react-navigation/stack';
import { NavigationContainer } from '@react-navigation/native';
import GetStarted from './src/views/public/GetStarted'
import Navigator from './src/views/public/Navigator'
import SignIn from './src/views/public/SignIn'
import SignUp from './src/views/public/SignUp'
const Stack = createStackNavigator();
function StackNavigation() {
return (
<Stack.Navigator screenOptions={{headerShown: false}}>
<Stack.Screen
name="GetStarted"
component={GetStarted}
/>
<Stack.Screen
name="SignIn"
component={SignIn}
/>
<Stack.Screen
name="SignUp"
component={SignUp}
/>
<Stack.Screen
name="Navigator"
component={Navigator}
/>
</Stack.Navigator>
);
}
export default function App() {
return (
<NavigationContainer>
<StackNavigation />
</NavigationContainer>
);
}