react-components packages should not depend on react-icons for only class names of regular and filled icons #25598
Labels
Area: Icons
Fluent UI react-components (v9)
Resolution: Soft Close
Soft closing inactive issues over a certain period
Type: Bug 🐛
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
The text was updated successfully, but these errors were encountered: