xicons icon indicating copy to clipboard operation
xicons copied to clipboard

Invalid DOM properties in react icon components

Open Jackardios opened this issue 2 years ago • 1 comments

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

Jackardios avatar Oct 07 '22 11:10 Jackardios

save warning, using PeopleOutline of @ricons/ionicons5

Rokixy avatar Apr 20 '23 09:04 Rokixy