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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user