react-classlist-helper
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "react-classlist-helper", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Helper to defining multiple classes on a react component.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/react-classlist-helper.min.js", |
@@ -6,3 +6,3 @@ import isBoolean from 'lodash.isboolean'; | ||
export default function classList(...classes) { | ||
export function classList(...classes) { | ||
if (classes.length === 0) { | ||
@@ -49,1 +49,3 @@ return ''; | ||
} | ||
export default classList; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14811
201