tabler / tabler-icons

A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.28k stars 915 forks source link

[Bug] IconInfoCircleFilled throws an error in browser console `Wrong property "stroke-width"` #492

Closed Lukasz-pluszczewski closed 1 year ago

Lukasz-pluszczewski commented 1 year ago

When using IconInfoCircleFilled in Chrome, while icon do show up correctly it seems, Chrome shows the error in console:

Warning: Invalid DOM property `stroke-width`. Did you mean `strokeWidth`?

Here is the example code to reproduce the issue: https://stackblitz.com/edit/vitejs-vite-oa3nlq?file=src/App.tsx

EDIT: I've verified the issue only in @tabler/icons-react not sure if the stroke-width is also used in that icon in other packages.

codecalm commented 1 year ago

yeah, in nevest version I've started use stroke-width in path, it's bug. I'll fix it soon! :)

codecalm commented 1 year ago

I've fixed it, I'll release it soon! :) thank you @Lukasz-pluszczewski for issue