-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
30 lines (28 loc) · 693 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
import React from 'react';
import { Text, StyleSheet } from 'react-native';
import { Buttons, FadeInView } from './components';
export default class App extends React.Component {
render() {
return (
<FadeInView style={{flex: 1}}>
<Text style={styles.titleText}>R Fortunes</Text>
<Text style={styles.baseText}>Fortunes from the R community</Text>
<Buttons/>
</FadeInView>
)
}
}
const styles = StyleSheet.create({
baseText: {
fontFamily: 'System',
fontSize: 18,
textAlign: 'center'
},
titleText: {
paddingTop: 50,
fontFamily: 'System',
fontSize: 40,
fontWeight: 'bold',
textAlign: 'center'
},
});