refactor(ui): replace ProfileCard.Header with custom View
This commit is contained in:
committed by
Austin McKinley
parent
c758bfc568
commit
40a560509b
@@ -288,7 +288,7 @@ export function ProfileGrid({
|
|||||||
{width: 165},
|
{width: 165},
|
||||||
]}>
|
]}>
|
||||||
<ProfileCard.Outer>
|
<ProfileCard.Outer>
|
||||||
<ProfileCard.Header>
|
<View style={[a.flex_col, a.align_center, a.gap_sm, a.pb_sm]}>
|
||||||
<ProfileCard.Avatar
|
<ProfileCard.Avatar
|
||||||
profile={profile}
|
profile={profile}
|
||||||
moderationOpts={moderationOpts}
|
moderationOpts={moderationOpts}
|
||||||
@@ -315,8 +315,8 @@ export function ProfileGrid({
|
|||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</ProfileCard.Header>
|
|
||||||
<ProfileCard.Description profile={profile} numberOfLines={2} />
|
<ProfileCard.Description profile={profile} numberOfLines={2} />
|
||||||
|
</View>
|
||||||
</ProfileCard.Outer>
|
</ProfileCard.Outer>
|
||||||
</CardOuter>
|
</CardOuter>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user