Already reported this here and it was fixed for the specific case described below, how ever this is still an issue in version 5.0.5, for other icons. I do not know exactly for which icon this happens, but the usecase is that I'm trying to render out all of the icons and I see this error for some of them. Until it's fixed for all of them, I cannot use this library for my usecase.
Some react icons seem to be missing style mapping causing this error:
Error
The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.
Here's a demo of the issue. Airplane renders correctly, but PersonAltCircle does not.
I must have made a mistake investigating this. I'm unable to reproduce this error now and I can see that there are no remaining style attributes present for any other SVG paths. Closing.
Already reported this here and it was fixed for the specific case described below, how ever this is still an issue in version 5.0.5, for other icons. I do not know exactly for which icon this happens, but the usecase is that I'm trying to render out all of the icons and I see this error for some of them. Until it's fixed for all of them, I cannot use this library for my usecase.