Skip to content

Web: Codemod `<Icon />` to `@mdi/js`

Administrator requested to merge tr/icon-v2-web-run-1 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/js.

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