Closed pradeept95 closed 2 months ago
Hello,
Since not finding the Light icon, I tried to define the Regular one twice.
const EditIcon = bundleIcon(EditFilled, EditRegular, EditRegular);
<Button
icon={<EditIcon />}
appearance="subtle"
aria-label={t('Edit')}
/>
But the button displays the icon twice!
Work around for anyone with this issue, override fluent ui icons back to before this breaking change, add this to your package.json
"overrides": {
"@fluentui/react-icons": "2.0.243"
},
PR to revert the change: https://github.com/microsoft/fluentui-system-icons/pull/728
Fixed in latest version of @fluentui/react-icons
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
no
Reproduction
https://stackblitz.com/run?file=src%2Fexample.tsx
Bug Description
Actual Behavior
after V9.54.1, the bundleIcon added one more prams while creating composite icon called "LightIcon" which causing all application incompatible with v9.54.1 and above.
Expected Behavior
bundleIcon should not add more parameter without providing support for existing behavior
Logs
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations