-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
33 lines (27 loc) · 805 Bytes
/
Copy pathApp.js
File metadata and controls
33 lines (27 loc) · 805 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
import { LogBox, StatusBar, StyleSheet, Text, View } from 'react-native'
import React, { useEffect } from 'react'
import Navigation from './src/navigation'
import { AppProvider } from './src/context/AppContext'
import { Colors, Fonts } from './src/theme'
import FlashMessage from 'react-native-flash-message'
LogBox.ignoreAllLogs();
const App = () => {
return (
<AppProvider>
<View style={{ flex: 1 }} >
<StatusBar backgroundColor={Colors.screen} barStyle='dark-content' />
<Navigation />
<FlashMessage position="top" titleStyle={styles.flashMessage} />
</View>
</AppProvider>
)
}
export default App
const styles = StyleSheet.create({
flashMessage: {
fontFamily: Fonts.REGULAR,
textAlign: "center",
marginTop: 3,
fontSize: 13
}
})