-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
74 lines (59 loc) · 1.97 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import React, { Component } from 'react';
import { Platform, StyleSheet, Text, View, ScrollView } from 'react-native';
import { Fragment } from 'react';
import "./src/config/ReactotronConfig";
import "./src/config/DevTollsConfig";
import Post from './src/Components/Post';
export default class App extends Component {
render() {
return (
<Fragment>
<View style={styles.menu}>
<Text style={styles.menutext}>GoNative App</Text>
</View>
<ScrollView style={styles.ScrollView}>
<Post
title="Aprendendo React Native"
author="Bruno Willian Garcia"
description="Lorem Ipsum is simply dummy
txt of the printing and typesetting industry. Lorem Ipsum
has been the industrys standard dummy text ever since the
standard dummy text ever since thestandard dummy text"
/>
<Post
title="Aprendendo React Native 2"
author="Bruno Willian Garcia 2"
description="Lorem Ipsum is simply dummy
txt of the printing and typesetting industry. Lorem Ipsum
has been the industrys standard dummy text ever since the
standard dummy text ever since thestandard dummy text"
/>
<Post
title="Aprendendo React Native 3"
author="Bruno Willian Garcia 3"
description="Lorem Ipsum is simply dummy
txt of the printing and typesetting industry. Lorem Ipsum
has been the industrys standard dummy text ever since the
standard dummy text ever since thestandard dummy text"
/>
</ScrollView>
</Fragment>
);
}
}
const styles = StyleSheet.create({
menu: {
height: 60,
backgroundColor: "#fff",
alignItems: 'center',
justifyContent: 'center',
marginTop: 30,
},
menutext: {
fontSize: 20,
},
ScrollView: {
flex: 1,
backgroundColor: '#ee7777',
},
});