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

@ -45,7 +45,7 @@ export const FeedsList = React.forwardRef<SectionRef, ProfilesListProps>(
(isWeb || index !== 0) && a.border_t,
t.atoms.border_contrast_low,
]}>
<FeedCard.Default type="feed" view={item} />
<FeedCard.Default view={item} />
</View>
)
}