-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApp.js
More file actions
25 lines (23 loc) · 663 Bytes
/
App.js
File metadata and controls
25 lines (23 loc) · 663 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
import React from 'react';
import { StyleSheet, View, StatusBar } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { JournalProvider } from './src/context/JournalContext';
import AppNavigator from './src/navigation/AppNavigator';
export default function App() {
return (
<JournalProvider>
<NavigationContainer>
<View style={styles.container}>
<StatusBar barStyle="light-content" />
<AppNavigator />
</View>
</NavigationContainer>
</JournalProvider>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#0A0A0A',
},
});