You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`iconVariant`|`'svg'`\|`'fonts'`\|`'svg-sprite'`|`'svg'`|Whether icons resolve to SVG, font-based, or SVG sprite components |
69
69
70
70
### Using font icons
71
71
@@ -86,15 +86,34 @@ module.exports = {
86
86
87
87
This changes icon resolution from `@fluentui/react-icons/svg/*` to `@fluentui/react-icons/fonts/*`. Non-icon exports (`utils`, `providers`) are unaffected.
This changes icon resolution from `@fluentui/react-icons/svg/*` to `@fluentui/react-icons/svg-sprite/*`. Non-icon exports (`utils`, `providers`) are unaffected.
107
+
89
108
## How it works
90
109
91
110
The loader uses a Babel transform to rewrite import and re-export declarations that reference `@fluentui/react-icons`. Each named specifier is routed to an atomic subpath based on its name:
0 commit comments