Skip to content

Branded: Codemod `<Icon />` usage to `@mdi/react`

Administrator requested to merge tr/icon-v2-branded into main

Created by: umpox

Migration automated through codemod: https://github.com/sourcegraph/codemod/pull/140

Description

Migrates simple <Icon /> usage from mdi-react to @mdi/react.

Why?

We've had numerous problems with mdi-react previously, and this library is better supported and gives us better control over our icons. See https://github.com/sourcegraph/sourcegraph/pull/37387 for more context.

Test plan

Icon edge cases tested through https://github.com/sourcegraph/sourcegraph/pull/37387, this diff is tested through automated tests.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading