import React from 'react'; import {Image, StyleSheet, View} from 'react-native'; import LinearGradient from 'react-native-linear-gradient'; import {TAGGS_GRADIENT} from '../../constants'; import {AuthContext, ProfileContext} from '../../routes/'; type AvatarTitleProps = { isProfileView: boolean; }; const AvatarTitle: React.FC = ({isProfileView}) => { const {avatar} = isProfileView ? React.useContext(ProfileContext) : React.useContext(AuthContext); return ( ); }; const styles = StyleSheet.create({ container: { width: '100%', height: '100%', aspectRatio: 1, justifyContent: 'center', alignItems: 'center', }, gradient: { width: '82%', height: '82%', borderRadius: 1000, justifyContent: 'center', alignItems: 'center', }, avatar: { position: 'absolute', width: '73%', height: '73%', borderRadius: 1000, }, }); export default AvatarTitle;