Are you willing to submit a PR to fix? (Yes, No)
No
Requested priority: (Blocking, High, Normal, Low)
Normal
Products/sites affected: (if applicable)
All
The icon='Delete' is not shown when you have a button in a Callout. icon='Brightness' works as expected
Got office-ui-fabric-react/src/components/Callout/examples/Callout.Cover.Example.tsx.
On line 110 after text='Click to dismiss' add the icon property and set it to Birghtness, notice that the brightness icon is properly shown on the UI.
Set the icon to Delete, no icon is shown
The Delete icon should be shown on the Button. This reproduces on menu items as well as inside a table.
I've found the same isue in all kind of buttons it seems that someone changed the icon name and nobody updated the docs nor the site :( , if I use "Trash" the correct icon appears.
Here is a repro:
https://codepen.io/Intnovaction/pen/Ngmodg
* The "doc" identifies the icon as "Delete" *
https://dev.office.com/fabric#/styles/icons
This is a known issue at the moment. Currently both Delete/Trash and Switch/Switcher are both not matching the icon names on the documentation site.
It seems these are also not consistent:
There are bound to be more - this should not be checked by hand (I also haven't managed to find their corresponding icons in IconCodes.ts
).
Is it useful to continue collating inconsistencies? My latest was:
Icons are now in a separate package which should provide consistency, please reopen if any issues remain
Most helpful comment
I've found the same isue in all kind of buttons it seems that someone changed the icon name and nobody updated the docs nor the site :( , if I use "Trash" the correct icon appears.
Here is a repro:
https://codepen.io/Intnovaction/pen/Ngmodg
* The "doc" identifies the icon as "Delete" *
https://dev.office.com/fabric#/styles/icons