Advertisement
yosadade

sanber.js

Jul 1st, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import { StyleSheet, Text, View, Image, TextInput, TouchableOpacity } from 'react-native';
  3. // import { FontAwesome } from '@expo/vector-icons';
  4.  
  5. export default class App extends Component {
  6. render() {
  7. return (
  8. <View>
  9. <TouchableOpacity style={styles.imageBack1}>
  10. <Image source={require('./assets/left.png')} style={styles.imageBack} />
  11. </TouchableOpacity>
  12. <View style={styles.UserPic}>
  13. <Text style={styles.textJudul}>About Me</Text>
  14. <FontAwesome name="user-circle" size={124} color="#FFC700" />
  15. </View>
  16. <View style={styles.data}>
  17. <View style={{paddingBottom: 10}}>
  18. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 18, color: "#AAA6A6" }}>Name</Text>
  19. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 16, paddingLeft: 10 }}>Will Smith</Text>
  20. </View>
  21. <View style={{paddingBottom: 10}}>
  22. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 18, color: "#AAA6A6" }}>Bord Date</Text>
  23. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 16, paddingLeft: 10 }}>12-Agustus-1995</Text>
  24. </View>
  25. <View style={{paddingBottom: 10}}>
  26. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 18, color: "#AAA6A6" }} >My Social Media</Text>
  27. <Text style={{ fontFamily: "Roboto", fontWeight: "bold", fontSize: 18, color: "#AAA6A6", paddingLeft: 10 }}>My Portofolio</Text>
  28. </View>
  29. </View>
  30. </View>
  31. )
  32. }
  33. }
  34.  
  35. const styles = StyleSheet.create({
  36. imageBack1: {
  37. height: 40,
  38. width: 40,
  39. },
  40. imageBack: {
  41. height: 25,
  42. width: 25,
  43. left: 20,
  44. top: 30
  45. },
  46. UserPic: {
  47. alignItems: 'center'
  48. },
  49. textJudul: {
  50. fontFamily: "Roboto",
  51. fontWeight: 'bold',
  52. fontSize: 24,
  53. textAlign: 'center',
  54. marginTop: 65,
  55. paddingBottom: 20
  56. },
  57. data: {
  58. flex: 1,
  59. marginLeft: 37,
  60. marginTop: 20,
  61. },
  62. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement