Skip to content

react-components packages should not depend on react-icons for only class names of regular and filled icons #25598

@GeoffCoxMSFT

Description

@GeoffCoxMSFT

Several components in v9 depend on react-icons for the regular and filled icons class names.
This causes packages to take dependencies on react-icons when the components should be agnostic to a particular icon library used.
While tree-shaking will avoid bundle size bloat, this still causes extra package download for callers not consuming react-icons

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions