-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
39 lines (37 loc) · 1.17 KB
/
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
33
34
35
36
37
38
39
import React from "react";
import { StatusBar } from "expo-status-bar";
import { StyleSheet, ScrollView } from "react-native";
import { SafeAreaProvider, SafeAreaView } from "react-native-safe-area-context";
import Header from "./src/components/Header.jsx";
import Title from "./src/components/Title.jsx";
import Description from "./src/components/Description.jsx";
import Avatars from "./src/components/Avatars.jsx";
import TaskList from "./src/components/TaskList.jsx";
import { Provider } from "react-redux";
import store from "./Redux/store";
import DummyComp from "./src/components/DummyComp.jsx";
export default function App() {
return (
<SafeAreaProvider>
<Provider store={store}>
<SafeAreaView style={styles.container}>
<ScrollView contentInsetAdjustmentBehavior="automatic">
<Header />
<Title />
<Description />
<Avatars />
<TaskList />
<DummyComp />
</ScrollView>
</SafeAreaView>
</Provider>
<StatusBar style="auto" />
</SafeAreaProvider>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#ffff",
},
});