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

React styles require camel case #50

Open
aerlaut opened this issue Feb 4, 2024 · 0 comments
Open

React styles require camel case #50

aerlaut opened this issue Feb 4, 2024 · 0 comments

Comments

@aerlaut
Copy link

aerlaut commented Feb 4, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant