forked from Technigo/project-react-native-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
66 lines (62 loc) 路 1.79 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import 'react-native-gesture-handler';
import React from 'react'
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import QuoteList from './components/QuoteList';
import Heart from './components/Heart';
import Sun from './components/Sun';
import Flower from './components/Flower';
import Bird from './components/Bird';
import Hand from './components/Hand';
import Leaf from './components/Leaf';
import BlueFlower from './components/BlueFlower';
const Stack = createStackNavigator();
const App = () => {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName='Home'>
<Stack.Screen
name='Positive quotes'
component={QuoteList}
options={{headerShown:false}}
/>
<Stack.Screen
name='Heart'
component={Heart}
options={{headerShown:false}}
/>
<Stack.Screen
name='Sun'
component={Sun}
options={{headerShown:false}}
/>
<Stack.Screen
name='Flower'
component={Flower}
options={{headerShown:false}}
/>
<Stack.Screen
name='Bird'
component={Bird}
options={{headerShown:false}}
/>
<Stack.Screen
name='Hand'
component={Hand}
options={{headerShown:false}}
/>
<Stack.Screen
name='Leaf'
component={Leaf}
options={{headerShown:false}}
/>
<Stack.Screen
name='Blue Flower'
component={BlueFlower}
options={{headerShown:false}}
/>
</Stack.Navigator>
</NavigationContainer>
);
};
export default App