glyphs
glyphs copied to clipboard
React styles require camel case
I faced this issue when trying to use glyphs react-core in Next.JS:
As described, the issue comes from the use of strings instead of style mappings in the components. For example, looking at CoreSquare:
The style attribute is using string instead of object, and
the svg
attributes (i.e. stroke-width
, stroke-linecap
, stroke-linejoin
) are also not using the proper camelcase attribute texts.
Can these be fixed?