Skip to content

[M4] Migrate User Avatar usages #95600

Description

@mountiny

Problem

Call sites still pass type={CONST.ICON_TYPE_AVATAR} to the monolithic Avatar, keeping user forking logic in the facade.

Solution

Migrate all user avatar call sites to import and use AvatarUser directly. Remove the user branch, type prop, and AvatarType from the facade once complete. Rename/slim Avatar/index.tsx or remove facade entirely if no call sites remain.

Acceptance criteria

  • All ICON_TYPE_AVATAR Avatar usages migrated (~34 call sites)
  • AvatarUser exported from @components/Avatar
  • type prop removed from public Avatar API
  • Unit/UI tests updated

Dependencies

Blocked by: #95597 — [M1] Split Avatar into primitives

Can run in parallel with M3.

Issue OwnerCurrent Issue Owner: @jmusial

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffTaskWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions