-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
41 lines (39 loc) · 1.05 KB
/
App.js
File metadata and controls
41 lines (39 loc) · 1.05 KB
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
import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View,Image} from 'react-native';
import Judul from './Components/Judul';
export default class App extends Component {
render() {
return (
<View style={styles.container}>
<Judul title="BIODATA"/>
<Judul title="LOGIN"/>
<Judul title="SMK TELKOM "/>
<Text style={styles.welcome}>Well Hellow People!</Text>
<Image style={{height:250,width:400}} source={require('./me.jpg')}/>
<Text style={styles.instructions}>Nama : Rizky Eventa Bahtiar</Text>
<Text style={styles.instructions}>No. : 29</Text>
<Text style={styles.instructions}>Kelas : XI RPL 4</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#000',
},
welcome: {
fontSize: 20,
textAlign: 'center',
marginTop:5,
marginBottom : 5,
color: '#0f0',
},
instructions: {
fontSize:15,
textAlign: 'left',
marginTop: 10,
marginBottom: 5,
color: '#0f0',
},
});