react-fontawesome icon indicating copy to clipboard operation
react-fontawesome copied to clipboard

Missing icons not replaced by missingIcon icon

Open designbyadrian opened this issue 6 years ago • 2 comments

Title gore.

Default config has showMissingIcons: true, but all I get is a console error. No element is rendered at all.

designbyadrian avatar May 01 '19 15:05 designbyadrian

@designbyadrian for projects like React we decided to provide a console error which gives you more detail as to why the icon is missing. Showing the missing icon is beneficial for using the generic Font Awesome but not a great idea for tools like React.

robmadole avatar May 17 '19 20:05 robmadole

I understand. In my case, I was hoping for a fallback so the layout doesn’t change if an icon is missing, when rendering a large list of elements.

designbyadrian avatar May 18 '19 10:05 designbyadrian