FeedCard & ListCard cleanups (#4644)

* Extract ListCard from FeedCard

* Export FeedCard.Action and optionally include in ListCard

* Remove list dual usage from most of FeedCard

* Update usages of FeedCard and ListCard

* Add back list purpose logic

* Make Action comp easier to use, clarify list purpose

* Rename Action to SaveButton
This commit is contained in:
Eric Bailey 2024-06-28 08:27:54 -05:00 committed by GitHub
parent 58a97db5b8
commit 1a037d3542
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 198 additions and 97 deletions

View file

@ -505,7 +505,7 @@ export function Explore() {
a.px_lg,
a.py_lg,
]}>
<FeedCard.Default type="feed" view={item.feed} />
<FeedCard.Default view={item.feed} />
</View>
)
}

View file

@ -306,7 +306,7 @@ let SearchScreenFeedsResults = ({
a.px_lg,
a.py_lg,
]}>
<FeedCard.Default type="feed" view={item} />
<FeedCard.Default view={item} />
</View>
)}
keyExtractor={item => item.uri}