-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
54 lines (40 loc) · 1.24 KB
/
Copy pathApp.js
File metadata and controls
54 lines (40 loc) · 1.24 KB
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
import React from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
} from 'react-native';
import home from './screens/home';
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
import splashScreen from './screens/splash';
import signup from './screens/signup';
import login from './screens/login';
import features from './screens/features';
import loading from './screens/loading'
const Stack=createStackNavigator();
const styles = StyleSheet.create({
appview:{
flex:1,
backgroundColor: '#000000',
}
});
export default function App(){
return (
<NavigationContainer>
<Stack.Navigator screenOptions={{
headerStyle: {
backgroundColor: '#ffb6c1'}}}>
<Stack.Screen name="Vishesh" component={splashScreen}/>
<Stack.Screen name="loading" component={loading}/>
<Stack.Screen name="Home" component={home}/>
<Stack.Screen name="Options" component={features}/>
<Stack.Screen name="Login" component={login}/>
<Stack.Screen name="SignUp" component={signup}/>
</Stack.Navigator>
</NavigationContainer>
);
}