aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/PrivateProfile.tsx
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-17 11:07:45 -0700
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-25 13:52:39 -0700
commitf662d1cd85447de0f6be945a350d1f2d1be5033e (patch)
tree52cdfe8c6f01a74493670005bb9bb72b7d490fcc /src/components/profile/PrivateProfile.tsx
parent99de9c8402f470ead242a81510dc2764ae7d9e66 (diff)
Separated Private and Public Profiles
Diffstat (limited to 'src/components/profile/PrivateProfile.tsx')
-rw-r--r--src/components/profile/PrivateProfile.tsx33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/components/profile/PrivateProfile.tsx b/src/components/profile/PrivateProfile.tsx
new file mode 100644
index 00000000..efa7ff39
--- /dev/null
+++ b/src/components/profile/PrivateProfile.tsx
@@ -0,0 +1,33 @@
+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: {
+ backgroundColor: '#F9F9F9',
+ alignItems: 'center',
+ justifyContent: 'center',
+ height: SCREEN_HEIGHT * 0.3,
+ },
+ privateAccountTextContainer: {marginTop: '8%'},
+ privateAccountTextStyle: {
+ fontWeight: '600',
+ fontSize: normalize(18),
+ lineHeight: normalize(25),
+ color: '#828282',
+ },
+});
+
+export default PrivateProfile;