-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
40 lines (38 loc) · 878 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
39
40
import "@expo/metro-runtime";
import { ImageBackground, Text, View } from "react-native";
import image from "./assets/bg-green.jpg";
import Body from "./components/Login2/Body";
export default function App() {
return (
<ImageBackground source={image} resizeMode='cover' style={{ flex: 1 }}>
<View
style={{
flex: 1,
justifyContent: "center",
}}
>
<Text
style={{
fontSize: 35,
color: "white",
paddingLeft: 30,
fontWeight: "600",
}}
>
Sign In
</Text>
</View>
<View
style={{
flex: 5,
borderTopRightRadius: 30,
borderTopLeftRadius: 30,
padding: 30,
backgroundColor: "white",
}}
>
<Body />
</View>
</ImageBackground>
);
}