Skip to content

Invalid DOM properties in react icon components #604

Open

Description

@Jackardios

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

Activity

  1. Rokixy commented on Apr 20, 2023

    @Rokixy

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions