Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid DOM properties in react icon components #604

Open
Jackardios opened this issue Oct 7, 2022 · 1 comment
Open

Invalid DOM properties in react icon components #604

Jackardios opened this issue Oct 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Jackardios
Copy link

Jackardios commented Oct 7, 2022

Console output shows warnings about invalid properties:

  • 'Warning: Invalid DOM property stroke-linecap. Did you mean strokeLinecap?'
  • 'Warning: Invalid DOM property stroke-linejoin. Did you mean strokeLinejoin?'
  • 'Warning: Invalid DOM property stroke-width. Did you mean strokeWidth?'
  • ...etc.

So that these warnings are not shown, I suppose in the script for generating react components we need to convert all attributes into camelCase

@07akioni 07akioni added the bug Something isn't working label Oct 7, 2022
@Rokixy
Copy link

Rokixy commented Apr 20, 2023

save warning, using PeopleOutline of @ricons/ionicons5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants