-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
36 lines (35 loc) · 1022 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
import React from "react";
import {
SafeAreaView,
StatusBar,
TouchableWithoutFeedback,
Keyboard,
View,
Text,
Linking
} from "react-native";
import styles from "./src/styles/App";
import Header from "./src/components/Header";
import Game from "./src/components/Game";
export default function App() {
return (
<>
<StatusBar barStyle="default" backgroundColor="#84322f" />
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
<SafeAreaView style={styles.AreaGeral}>
<Header titulo="Amigo Oculto" slogan="Quem você tirou?" />
<Game />
<View style={styles.Footer}>
<View style={{flexDirection: 'row'}}>
<Text>by</Text>
<Text
style={styles.FooterLink}
onPress={() => Linking.openURL('https://instagram.com/eugaoliver')}
>@eugaoliver</Text>
</View>
</View>
</SafeAreaView>
</TouchableWithoutFeedback>
</>
);
}