-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
32 lines (30 loc) · 873 Bytes
/
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
import { StatusBar } from 'expo-status-bar'
import { StyleSheet, View, SafeAreaView } from 'react-native'
import { RootSiblingParent } from 'react-native-root-siblings'
import { StoreProvider } from './src/store'
import Head from './src/components/Head'
import List from './src/components/List'
import ConfirmModal from './src/components/ConfirmModal'
import EditModal from './src/components/EditModal'
export default function App() {
return (
<StoreProvider>
<RootSiblingParent>
<SafeAreaView style={styles.container}>
<Head />
<List />
<ConfirmModal />
<EditModal />
<StatusBar style='auto' />
</SafeAreaView>
</RootSiblingParent>
</StoreProvider>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
backgroundColor: '#42A6DE'
}
})