diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-09 17:11:03 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-09 17:11:03 -0800 |
commit | 4b6faadd4cc0a69b0aad5b44dfe6292635b39f6b (patch) | |
tree | 959cf8d5960e20cf378bc667ffacf5527a9e3560 /src/components/common/SocialLinkModal.tsx | |
parent | 7fd3d9f6c4297747512f2bea69a11268ffa35f08 (diff) |
changed insta icon + added extra prop for switch
Diffstat (limited to 'src/components/common/SocialLinkModal.tsx')
-rw-r--r-- | src/components/common/SocialLinkModal.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/common/SocialLinkModal.tsx b/src/components/common/SocialLinkModal.tsx index d3bc3945..0bd5a0a5 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'; @@ -48,7 +49,11 @@ const SocialLinkModal: React.FC<SocialLinkModalProps> = ({ 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{' '} |