-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
47 lines (40 loc) · 977 Bytes
/
App.js
File metadata and controls
47 lines (40 loc) · 977 Bytes
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
import { StyleSheet } from 'react-native';
import InfoBar from './src/components/InfoBar';
import Navbar from './src/components/navbar';
import { NavigationContainer } from '@react-navigation/native';
import Routes from './src/Routes';
import { AuthProvider } from './src/contexts/auth';
import { StatusBar } from 'expo-status-bar';
export default function App() {
return (
<>
<AuthProvider>
<NavigationContainer>
{/* some components */}
{/* <StatusBar/> */}
{/* <InfoBar /> */}
<Navbar />
{/* route component */}
<Routes />
</NavigationContainer>
</AuthProvider>
</>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
// alignItems: 'center',
justifyContent: 'center',
padding: 10
},
containerView: {
flex: 1,
paddingVertical: 20,
height: 200
},
container_title: {
fontSize: 15
},
});