import React from 'react'; import {RouteProp} from '@react-navigation/native'; import {StackNavigationProp} from '@react-navigation/stack'; import {View, Text, StatusBar, StyleSheet} from 'react-native'; import {RootStackParamList} from '../../routes'; import {Background, CenteredView} from '../../components'; type ProfileScreenRouteProp = RouteProp; type ProfileScreenNavigationProp = StackNavigationProp< RootStackParamList, 'Profile' >; interface ProfileProps { route: ProfileScreenRouteProp; navigation: ProfileScreenNavigationProp; } /** * Create Profile screen for onboarding. * @param navigation react-navigation navigation object. */ const Profile: React.FC = ({navigation}) => { /** * Profile screen "Add Large Profile Pic Here" button */ const LargeProfilePic = () => ( ADD LARGE PROFILE PIC HERE ); /** * Profile screen "Add Smaller Profile Pic Here" button */ const SmallProfilePic = () => ( ADD SMALLER PIC ); /* * Handles tap on add profile picture buttons by navigating to camera access */ const goToCamera = () => { navigation.navigate('Camera'); }; return ( ); }; const styles = StyleSheet.create({ container: { flex: 1, flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, largeButton: { padding: 5, height: 180, width: 180, borderRadius: 400, backgroundColor: '#fff', justifyContent: 'center', marginTop: '100%', marginRight: '12%', zIndex: 2, }, addLargeProfilePicText: { fontWeight: 'bold', padding: 22, fontSize: 12, color: '#863FF9', textAlign: 'center', }, smallButton: { position: 'relative', padding: 5, height: 110, width: 110, borderRadius: 400, backgroundColor: '#E1F0FF', justifyContent: 'center', zIndex: 1, marginTop: '128%', marginLeft: '30%', }, addSmallProfilePicText: { fontWeight: 'bold', padding: 10, fontSize: 12, color: '#806DF4', textAlign: 'center', }, }); export default Profile;