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.
1 parent f7607d3 commit cac6ab5Copy full SHA for cac6ab5
packages/shared/src/normalizeProp.ts
@@ -41,9 +41,11 @@ export function parseStringStyle(cssText: string): NormalizedStyle {
41
return ret
42
}
43
44
-export function stringifyStyle(styles: NormalizedStyle | undefined): string {
+export function stringifyStyle(
45
+ styles: NormalizedStyle | string | undefined
46
+): string {
47
let ret = ''
- if (!styles) {
48
+ if (!styles || isString(styles)) {
49
50
51
for (const key in styles) {
0 commit comments