diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-01 18:08:35 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-01 18:08:35 -0400 |
commit | c00a73396e9d78984167d1cc9820cfe6ffa5be9e (patch) | |
tree | b2772e1ed21fa32d0d348a16ce7a95df4aa20051 /src/components/profile/ProfileBody.tsx | |
parent | 0cc8363a5890ec7fa15f48996fb813f47b6c71b4 (diff) |
Add styling to profile badge
Diffstat (limited to 'src/components/profile/ProfileBody.tsx')
-rw-r--r-- | src/components/profile/ProfileBody.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx index 8743acfb..c0ee508a 100644 --- a/src/components/profile/ProfileBody.tsx +++ b/src/components/profile/ProfileBody.tsx @@ -20,6 +20,7 @@ import { import {canViewProfile} from '../../utils/users'; import {FriendsButton} from '../common'; import {MessageButton} from '../messages'; +import ProfileBadges from './ProfileBadges'; import ToggleButton from './ToggleButton'; interface ProfileBodyProps { @@ -65,6 +66,7 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({ return ( <View onLayout={onLayout} style={styles.container}> + <ProfileBadges {...{userXId, screenType}} /> <Text style={styles.username}>{`@${username}`}</Text> {biography.length > 0 && ( <Text style={styles.biography}>{`${biography}`}</Text> @@ -137,7 +139,6 @@ const styles = StyleSheet.create({ justifyContent: 'space-between', }, container: { - paddingVertical: '1%', paddingHorizontal: 18, backgroundColor: 'white', }, |