-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
38 lines (36 loc) · 918 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
33
34
35
36
37
38
import React from "react";
import { SafeAreaView, StatusBar, StyleSheet, View } from "react-native";
import Row from "./components/Row";
import DateTime from "./components/DateTime";
import Weather from "./components/Weather";
import Radar from "./components/Radar";
import Todo from "./components/Todo";
export default class App extends React.Component {
render() {
return (
<SafeAreaView style={styles.safeArea}>
<View style={styles.container}>
<StatusBar hidden barStyle="light-content" />
<DateTime />
<Row>
<Weather />
<Radar />
</Row>
<Todo />
</View>
</SafeAreaView>
);
}
}
const styles = StyleSheet.create({
safeArea: {
flex: 1,
backgroundColor: "black"
},
container: {
flex: 1,
backgroundColor: "black",
alignItems: "center",
justifyContent: "flex-start"
}
});