diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-11 16:53:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 16:53:24 -0500 |
commit | 2561d20e17a697726d6b77accf79c9da2d1f6ef6 (patch) | |
tree | 9e2fdacee1040a9e9f975a329846dfa60cf5f3a4 /src/components/common/SocialLinkModal.tsx | |
parent | 3bc52c4e021199c5b546d51cd238aad9a96852a7 (diff) | |
parent | 97e73f47622df32859964df4c94a4d419590bee2 (diff) |
Merge pull request #237 from shravyaramesh/tma255-taggs-bar
[TMA255] Suggested People: Taggs bar
Diffstat (limited to 'src/components/common/SocialLinkModal.tsx')
-rw-r--r-- | src/components/common/SocialLinkModal.tsx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/common/SocialLinkModal.tsx b/src/components/common/SocialLinkModal.tsx index 67a3f074..20061cd0 100644 --- a/src/components/common/SocialLinkModal.tsx +++ b/src/components/common/SocialLinkModal.tsx @@ -1,6 +1,7 @@ import React from 'react'; import {Modal, StyleSheet, Text, TouchableOpacity, View} from 'react-native'; import {TextInput} from 'react-native-gesture-handler'; +import {ScreenType} from '../../types'; import {SocialIcon} from '.'; import CloseIcon from '../../assets/ionicons/close-outline.svg'; import {normalize, SCREEN_WIDTH} from '../../utils'; @@ -46,7 +47,11 @@ const SocialLinkModal: React.FC<SocialLinkModalProps> = ({ <TouchableOpacity style={styles.closeButton} onPress={onClosePress}> <CloseIcon height={'100%'} width={'100%'} color={'grey'} /> </TouchableOpacity> - <SocialIcon style={styles.icon} social={social} /> + <SocialIcon + style={styles.icon} + social={social} + screenType={ScreenType.Profile} + /> <Text style={styles.titleLabel}>{social}</Text> <Text style={styles.descriptionLabel}> Insert your {social.toLowerCase()} username to link your{' '} @@ -64,8 +69,9 @@ const SocialLinkModal: React.FC<SocialLinkModalProps> = ({ <TaggSquareButton title={'Submit'} onPress={onSubmit} - mode={'gradient'} - color={'white'} + buttonStyle={'gradient'} + buttonColor={'white'} + labelColor={'white'} /> </View> </CenteredView> |