ProfilePage.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { Image, StyleSheet, Text, View } from 'react-native'
  2. import React from 'react'
  3. import images from '../assets/images/images'
  4. const PROFILE_SIZE = 128
  5. const ProfilePage = (props) => {
  6. const {
  7. navigation,
  8. route,
  9. name,
  10. profileQuote,
  11. metrics
  12. } = props
  13. return (
  14. <View style={styles.profileContainer}>
  15. <View style={styles.profileImageContainer}>
  16. <Image source={images.imageCard} style={styles.profileImage}>
  17. </Image>
  18. </View>
  19. <Text>Semina Gurung</Text>
  20. <Text>
  21. The reason behind their disappointment is that iPhone users have been..
  22. </Text>
  23. </View>
  24. )
  25. }
  26. export default ProfilePage
  27. const styles = StyleSheet.create({
  28. profileContainer: {
  29. },
  30. profileImageContainer: {
  31. paddingVertical: 16,
  32. alignItems: 'center'
  33. },
  34. profileImage: {
  35. borderRadius: PROFILE_SIZE,
  36. height: PROFILE_SIZE,
  37. width: PROFILE_SIZE
  38. }
  39. })