We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if
1 parent ca7d421 commit c9c9dffCopy full SHA for c9c9dff
packages/shared/src/normalizeProp.ts
@@ -51,8 +51,8 @@ export function stringifyStyle(
51
}
52
for (const key in styles) {
53
const value = styles[key]
54
- const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key)
55
if (isString(value) || typeof value === 'number') {
+ const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key)
56
// only render valid values
57
ret += `${normalizedKey}:${value};`
58
0 commit comments