A familiar and performant compile time CSS-in-JS library for React.
1.98k
stars
68
forks
source link
Object syntax creates unnecessary quotes when using properties like `content: ''`, resulting in style not being applied #1650
Closed
pancaspe87 closed 4 months ago
Describe the bug
To Reproduce Update any of the existing stories to use CSS counters. For example:
If using Tagged Template Expression, this works.
If using Object syntax, with both
styled
orCSS
APIs, this won't work. For example:Expected behaviour Make sure that additional quotes are not added.
Possibly handled in here
Workaround Use Tagged Template Expression instead - styled.div``