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 b3ae56b commit fa15c8dCopy full SHA for fa15c8d
1 file changed
src/getClassName.js
@@ -72,6 +72,10 @@ export default (styleNameValue: string, styleModuleImportMap: StyleModuleImportM
72
const handleMissingStyleName = options && options.handleMissingStyleName ||
73
DEFAULT_HANDLE_MISSING_STYLENAME_OPTION;
74
75
+ if (!styleNameValue) {
76
+ return '';
77
+ }
78
+
79
return styleNameValue
80
.split(' ')
81
.filter((styleName) => {
0 commit comments