aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs/Tagg.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2020-10-22 17:42:29 -0400
committerGitHub <noreply@github.com>2020-10-22 17:42:29 -0400
commit52a3fe743e6122d157eaab3ad7bab0c70a96676b (patch)
tree564c5df3864a0d0fe09f7c18613d4cf5a1093170 /src/components/taggs/Tagg.tsx
parent08f9aebbaef871629323767c93c9e54cea527bed (diff)
[TMA-242] Twitter and Facebook Tagg View (#63)
* modified the way we store social media data, initial skeleton * MVP? Twitter done? * cleaned up some things * forgot to lint and cleaned up some more code * minor change to text display * fixed some UI bug, linting, and minor adjustment to posts UI * fixed a couple of things * added DateLabel, Facebook taggs view, fixed minor stuff * Some small changes for the PR * removed unused Feed Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
Diffstat (limited to 'src/components/taggs/Tagg.tsx')
-rw-r--r--src/components/taggs/Tagg.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/taggs/Tagg.tsx b/src/components/taggs/Tagg.tsx
index d6cffee5..9274e0eb 100644
--- a/src/components/taggs/Tagg.tsx
+++ b/src/components/taggs/Tagg.tsx
@@ -6,17 +6,18 @@ import {TAGGS_GRADIENT} from '../../constants';
interface TaggProps {
style: object;
+ social: string;
isProfileView: boolean;
}
-const Tagg: React.FC<TaggProps> = ({style, isProfileView}) => {
+const Tagg: React.FC<TaggProps> = ({style, social, isProfileView}) => {
const navigation = useNavigation();
return (
<TouchableOpacity
onPress={() =>
navigation.navigate('SocialMediaTaggs', {
- socialMediaType: 'Instagram',
+ socialMediaType: social,
isProfileView: isProfileView,
})
}>