diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-29 18:17:46 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-29 18:17:46 -0400 |
commit | d5669f3d08bee68b37f51727e499e84610685422 (patch) | |
tree | 8de9664c49e63833504aafd69ca8f965249d412d /src/components/profile/PrivateProfile.tsx | |
parent | d1e5d18c36af46b450ec7d019550c05b1a78f2db (diff) | |
parent | b0e4fe55be8983079f499b923e953855afeb2c64 (diff) |
Merge branch 'master' into tma739-bugfix-profile-onboarding-tutorial
# Conflicts:
# src/components/profile/Content.tsx
Diffstat (limited to 'src/components/profile/PrivateProfile.tsx')
-rw-r--r-- | src/components/profile/PrivateProfile.tsx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/profile/PrivateProfile.tsx b/src/components/profile/PrivateProfile.tsx new file mode 100644 index 00000000..bc75a18a --- /dev/null +++ b/src/components/profile/PrivateProfile.tsx @@ -0,0 +1,34 @@ +import React from 'react'; +import {Image, StyleSheet, Text, View} from 'react-native'; +import {PRIVATE_ACCOUNT} from '../../constants/strings'; +import {normalize, SCREEN_HEIGHT} from '../../utils'; + +const PrivateProfile: React.FC = () => { + return ( + <View style={styles.container}> + <Image source={require('../../assets/images/private-profile.png')} /> + <View style={styles.privateAccountTextContainer}> + <Text style={styles.privateAccountTextStyle}>{PRIVATE_ACCOUNT}</Text> + </View> + </View> + ); +}; + +const styles = StyleSheet.create({ + container: { + alignItems: 'center', + justifyContent: 'center', + backgroundColor: '#F9F9F9', + height: SCREEN_HEIGHT * 0.4, + paddingBottom: SCREEN_HEIGHT * 0.1, + }, + privateAccountTextContainer: {marginTop: '8%'}, + privateAccountTextStyle: { + fontWeight: '600', + fontSize: normalize(18), + lineHeight: normalize(25), + color: '#828282', + }, +}); + +export default PrivateProfile; |