Skip to content

[Docs] Avatar family migration documentation (7 components) #990

@georgewrmarshall

Description

@georgewrmarshall

Summary

Add migration documentation for the Avatar component family (7 components) that have been migrated from Extension/Mobile to MMDS.

Components

  • AvatarBase
  • AvatarIcon
  • AvatarAccount
  • AvatarNetwork
  • AvatarToken
  • AvatarFavicon
  • AvatarGroup

Definition of Done

1. MIGRATION.md Sections

Add migration sections with API maps to:

  • packages/design-system-react/MIGRATION.md
  • packages/design-system-react-native/MIGRATION.md

Include:

  • Breaking changes between Extension/Mobile and MMDS
  • Prop mapping tables
  • Before/after code examples

2. README Links

Add migration section to each component's README.mdx:

  • Link to relevant MIGRATION.md section

3. @deprecated Updates

Add migration links to JSDoc in:

  • Extension: ui/components/component-library/avatar*
  • Mobile: app/component-library/components/Avatar*

Example Reference

Text component migration: https://github.com/MetaMask/metamask-design-system/blob/main/packages/design-system-react/MIGRATION.md#text-component

Labels

documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions