Better list empty state (#7157)

* render header conditionally, use modern footer

* move add button to empty state if empty

* center align empty state

* Tweak add people btn

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
Samuel Newman
2024-12-18 19:03:53 +00:00
committed by GitHub
parent 5c4f870898
commit 05c43ed998
3 changed files with 98 additions and 64 deletions
+1 -3
View File
@@ -26,9 +26,7 @@ export function EmptyState({
const {isTabletOrDesktop} = useWebMediaQueries()
const iconSize = isTabletOrDesktop ? 64 : 48
return (
<View
testID={testID}
style={[isTabletOrDesktop && {paddingRight: 20}, style]}>
<View testID={testID} style={style}>
<View
style={[
styles.iconContainer,