Skip to content

React styles require camel case #50

@aerlaut

Description

@aerlaut

I faced this issue when trying to use glyphs react-core in Next.JS:

image

As described, the issue comes from the use of strings instead of style mappings in the components. For example, looking at CoreSquare:

image

The style attribute is using string instead of object, and

image

the svg attributes (i.e. stroke-width, stroke-linecap, stroke-linejoin) are also not using the proper camelcase attribute texts.

Can these be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions