aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-03-18 12:33:59 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-03-18 12:33:59 -0700
commit30916f3809a3712593b45968ba560914d43f3564 (patch)
tree3a03054c6a151ee10036f6a3d6d56adf0087372f /src
parentab97d0e0f0dff6ac4fc334fe12b9b93f0c8fc8c4 (diff)
styling invite friend tile + ph_no unformatted
Diffstat (limited to 'src')
-rw-r--r--src/components/friends/InviteFriendTile.tsx21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/components/friends/InviteFriendTile.tsx b/src/components/friends/InviteFriendTile.tsx
index 96b73378..0110fb74 100644
--- a/src/components/friends/InviteFriendTile.tsx
+++ b/src/components/friends/InviteFriendTile.tsx
@@ -34,7 +34,25 @@ const InviteFriendTile: React.FC<InviteFriendTileProps> = ({item}) => {
return (
<TouchableWithoutFeedback>
<View style={styles.container}>
- <Text style={styles.label}>{item.firstName + ' ' + item.lastName}</Text>
+ <View
+ style={{
+ flexDirection: 'column',
+ height: normalize(42),
+ justifyContent: 'space-around',
+ }}>
+ <Text style={styles.label}>
+ {item.firstName + ' ' + item.lastName}
+ </Text>
+ <Text
+ style={{
+ fontSize: normalize(12),
+ fontWeight: '400',
+ color: '#6C6C6C',
+ letterSpacing: normalize(0.1),
+ }}>
+ {item.phoneNumber}
+ </Text>
+ </View>
<TouchableOpacity
disabled={invited}
style={styles.button}
@@ -54,6 +72,7 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'space-between',
height: normalize(42),
+ marginBottom: '5%',
},
label: {
fontWeight: '500',