-
Notifications
You must be signed in to change notification settings - Fork 0
/
Why.js
34 lines (32 loc) · 794 Bytes
/
Why.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
import { Text, View } from "react-native";
const colors = require("./colors.json");
export default function Why(props) {
return (
<View
style={{
padding: 12,
height: "100%",
width: "100%",
justifyContent: "center",
alignItems: "center",
backgroundColor: colors.bible.background[props.theme],
}}
>
<Text
style={{
position: "absolute",
top: -40,
left: 30,
fontSize: 120,
color: colors.bible.text[props.theme],
}}
>
↖
</Text>
<Text style={{ fontSize: 20, color: colors.bible.text[props.theme] }}>
Why did you close all of your tabs?{"\n"}Click the '+' icon to open a
new tab!
</Text>
</View>
);
}