-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
42 lines (37 loc) · 911 Bytes
/
Copy pathApp.tsx
File metadata and controls
42 lines (37 loc) · 911 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
32
33
34
35
36
37
38
39
40
41
42
import React from "react";
import {
StyleSheet,
Text,
View,
SafeAreaView,
Platform,
StatusBar,
} from "react-native";
// import { StatusBar as ExpoStatusBar } from "expo-status-bar";
import MainScreen from "./src/navigation/Main";
export default function App() {
return (
<View style={styles.droidSafeArea}>
{/* <ExpoStatusBar style="dark" /> */}
{/* <View style={styles.container}>
<Text>Open up App.tsx to start working on your app!</Text>
</View> */}
<MainScreen />
</View>
);
}
const styles = StyleSheet.create({
droidSafeArea: {
flex: 1,
backgroundColor: "indigo",
//paddingTop: StatusBar.currentHeight,
paddingTop: Platform.OS === "android" ? StatusBar.currentHeight : 44,
marginBottom: 0,
},
container: {
flex: 1,
backgroundColor: "#ffff",
alignItems: "center",
justifyContent: "flex-start",
},
});