diff options
author | Ivan Chen <ivan@thetaggid.com> | 2020-10-22 17:42:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 17:42:29 -0400 |
commit | 52a3fe743e6122d157eaab3ad7bab0c70a96676b (patch) | |
tree | 564c5df3864a0d0fe09f7c18613d4cf5a1093170 /src/components/taggs/TaggsFeed.tsx | |
parent | 08f9aebbaef871629323767c93c9e54cea527bed (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/TaggsFeed.tsx')
-rw-r--r-- | src/components/taggs/TaggsFeed.tsx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/components/taggs/TaggsFeed.tsx b/src/components/taggs/TaggsFeed.tsx deleted file mode 100644 index 3f27e248..00000000 --- a/src/components/taggs/TaggsFeed.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import React from 'react'; -import {InstagramPostType, UserType} from '../../types'; -import {TaggPost} from './'; - -interface TaggsFeedProps { - user: UserType; - socialHandle: string; - posts: Array<InstagramPostType>; -} - -const TaggsFeed: React.FC<TaggsFeedProps> = ({user, socialHandle, posts}) => { - return ( - <> - {posts?.map((post, index) => ( - <TaggPost - key={index} - post={{ - owner: user, - social: 'Instagram', - socialHandle: socialHandle, - data: post, - }} - /> - ))} - </> - ); -}; - -export default TaggsFeed; |