Skip to content

Commit 150106f

Browse files
committed
fix #281
1 parent d0c317c commit 150106f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/getClasses.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ export default (
1414

1515
arr.push(
1616
[classPrefix, prop.replace(propPrefix, ''), props[prop]]
17-
.filter((e) => e)
17+
.filter((e) => e && typeof e !== 'boolean')
1818
.join('-')
1919
.toLowerCase()
2020
)
21+
22+
console.log(classPrefix, prop.replace(propPrefix, ''), props[prop])
2123
return arr
2224
}, [])

0 commit comments

Comments
 (0)