HomePhabricator
Diffusion Comm 912799556ba0

[native] Move `UserAvatar` "inside" `EditUserAvatar`

Tags
None
Referenced Files
F494659: 860d94.png
Apr 19 2023, 9:28 AM
File Not Attached
Subscribers
None

Description

[native] Move UserAvatar "inside" EditUserAvatar

Summary:
Intead of passing in UserAvatar as React.Node as a prop to EditUserAvatar, we pass ?userID as a prop and render UserAvatar "inside" EditUserAvatar.


Depends on D7507

Test Plan:
Things continue to look and work as expected:

860d94.png (1×882 px, 805 KB)

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7508

Details

Provenance
atulAuthored on Apr 18 2023, 3:45 PM
Reviewer
ashoat
Differential Revision
D7508: [native] Move `UserAvatar` "inside" `EditUserAvatar`
Parents
rCOMM38a498dbe6ce: [native] Move complexity of `actionSheetConfig` to `useShowAvatarActionSheet`
Branches
Unknown
Tags
Unknown