-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
54 lines (51 loc) · 1.36 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
import React from 'react'
import { StatusBar } from 'react-native'
import { createStackNavigator } from '@react-navigation/stack'
import { NavigationContainer } from '@react-navigation/native'
import Home from './src/components/Home'
import Text from './src/components/Text'
import Speech from './src/components/Speech'
import Camera from './src/components/Camera'
const Stack = createStackNavigator()
export default function App() {
return (
<NavigationContainer>
<StatusBar barStyle='light-content'/>
<Stack.Navigator
screenOptions={{
headerStyle: {
backgroundColor: '#222222',
borderColor: '#222222',
borderBottomColor: '#222222',
shadowColor: '#222222'
},
headerTintColor: '#ff5f5c'
}}>
<Stack.Screen
name="Home"
component={Home}
options={{
title: ''
}} />
<Stack.Screen
name="Text"
component={Text}
options={{
title: ''
}} />
<Stack.Screen
name="Speech"
component={Speech}
options={{
title: ''
}} />
<Stack.Screen
name="Camera"
component={Camera}
options={{
title: ''
}} />
</Stack.Navigator>
</NavigationContainer>
)
}