databag/app/mobile/App.js

24 lines
555 B
JavaScript
Raw Normal View History

2022-09-06 21:38:53 +00:00
import { StatusBar } from 'expo-status-bar';
2022-01-14 07:59:53 +00:00
import React from 'react';
2022-09-06 21:38:53 +00:00
import { StyleSheet, Text, View } from 'react-native';
2022-09-06 22:16:53 +00:00
import { AppContextProvider } from './context/AppContext';
2022-01-14 07:59:53 +00:00
2022-09-06 21:38:53 +00:00
export default function App() {
2022-01-14 07:59:53 +00:00
return (
2022-09-06 22:16:53 +00:00
<AppContextProvider>
2022-09-06 21:38:53 +00:00
<View style={styles.container}>
2022-09-06 22:16:53 +00:00
<Text>Open App.js to start working on your app!</Text>
2022-09-06 21:38:53 +00:00
</View>
2022-09-06 22:16:53 +00:00
</AppContextProvider>
2022-01-14 07:59:53 +00:00
);
2022-09-06 21:38:53 +00:00
}
2022-01-14 07:59:53 +00:00
2022-09-06 21:38:53 +00:00
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});