aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfileHeader.tsx
diff options
context:
space:
mode:
authorKingsley-swe <71396041+Kingsley-swe@users.noreply.github.com>2020-10-24 20:52:28 -0400
committerGitHub <noreply@github.com>2020-10-24 20:52:28 -0400
commit80a5b47d9fef940604d729ff5c428e16aa4be37a (patch)
tree8088322f15e89dd7347b1940cc59ad9efc974bfa /src/components/profile/ProfileHeader.tsx
parent84d283b44f2b6cecb757edcd94e717a36c3ba3c3 (diff)
[TMA 27] Followers list (#69)
* "Followers list " * Mended followers list * fix export error Co-authored-by: Ashm Walia <ashmwalia@outlook.com> Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
Diffstat (limited to 'src/components/profile/ProfileHeader.tsx')
-rw-r--r--src/components/profile/ProfileHeader.tsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx
index 62c103fd..25789525 100644
--- a/src/components/profile/ProfileHeader.tsx
+++ b/src/components/profile/ProfileHeader.tsx
@@ -27,8 +27,14 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({isProfileView}) => {
style={styles.follows}
mode="followers"
count={318412}
+ isProfileView={isProfileView}
+ />
+ <FollowCount
+ style={styles.follows}
+ mode="following"
+ count={1036}
+ isProfileView={isProfileView}
/>
- <FollowCount style={styles.follows} mode="following" count={1036} />
</View>
</View>
</View>
@@ -41,6 +47,7 @@ const styles = StyleSheet.create({
top: SCREEN_HEIGHT / 2.4,
paddingHorizontal: SCREEN_WIDTH / 20,
marginBottom: SCREEN_HEIGHT / 10,
+ position: 'absolute',
},
row: {
flexDirection: 'row',