HomePhabricator
Diffusion Comm 0bf79d623ea4

[web] Add `showSpinner` prop to `Avatar` component

Description

[web] Add showSpinner prop to Avatar component

Summary:
Add showSpinner?: boolean prop to the Avatar component and display LoadingIndicator over Avatar if set to true.


Depends on D8283

Test Plan:
Looks as expected:

Reviewers: ashoat, ginsu, rohan

Reviewed By: rohan

Subscribers: tomek

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

Details

Provenance
atulAuthored on Jun 21 2023, 3:21 PM
Reviewer
rohan
Differential Revision
D8285: [web] Add `showSpinner` prop to `Avatar` component
Parents
rCOMM72b8c7fcb7f5: [web] Consolidate `errorMessage` and `updateSuccessful` state in…
Branches
Unknown
Tags
Unknown