Skip to content

Enterprise: Codemod remaining `<Icon />` usage to `@mdi/js`

Warren Gifford requested to merge tr/icon-v2-enterprise-rest 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