[APP-1403] Profile empty states (#8969)
* update: Empty state component * update type error fixes * add empty state icon * update translations on labels * update: lint error for empty state * remove unused prompt * update type errors * fix lint errors and update profile followers and profile follows * updated starterpack * fix lint errors * address feedback * update icons to be a react element * update icons * update viewbox for icons * optimize: icons and update profile lists * optimize: icons and update profile lists * lint error fix * update iconSize from the rebase
This commit is contained in:
committed by
GitHub
parent
2d056e5be6
commit
d0649e9a9e
@@ -5,6 +5,7 @@ import {type NativeStackScreenProps} from '@react-navigation/native-stack'
|
||||
import {type AllNavigatorParams} from '#/lib/routes/types'
|
||||
import {PostFeed} from '#/view/com/posts/PostFeed'
|
||||
import {EmptyState} from '#/view/com/util/EmptyState'
|
||||
import {EditBig_Stroke1_Corner0_Rounded as EditIcon} from '#/components/icons/EditBig'
|
||||
import * as Layout from '#/components/Layout'
|
||||
import {ListFooter} from '#/components/Lists'
|
||||
|
||||
@@ -35,7 +36,11 @@ export function NotificationsActivityListScreen({
|
||||
feed={`posts|${uris}`}
|
||||
disablePoll
|
||||
renderEmptyState={() => (
|
||||
<EmptyState icon="growth" message={_(msg`No posts here`)} />
|
||||
<EmptyState
|
||||
icon={EditIcon}
|
||||
iconSize="2xl"
|
||||
message={_(msg`No posts here`)}
|
||||
/>
|
||||
)}
|
||||
renderEndOfFeed={() => <ListFooter />}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user