Comparing version 0.1.7 to 0.1.8
@@ -69,3 +69,4 @@ "use strict"; | ||
}, []); | ||
return cx(config === null || config === void 0 ? void 0 : config.base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.className); | ||
// return cx(config?.base, getVariantClassNames, getCompoundVariantClassNames, props?.className) | ||
return cn(config === null || config === void 0 ? void 0 : config.base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.className); | ||
}; | ||
@@ -72,0 +73,0 @@ } |
@@ -57,3 +57,4 @@ import { twMerge } from "tailwind-merge"; | ||
}, []); | ||
return cx(config === null || config === void 0 ? void 0 : config.base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.className); | ||
// return cx(config?.base, getVariantClassNames, getCompoundVariantClassNames, props?.className) | ||
return cn(config === null || config === void 0 ? void 0 : config.base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.className); | ||
}; | ||
@@ -60,0 +61,0 @@ } |
{ | ||
"name": "cvax", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Customized CVA. fork 'class-variance-authority'", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/alexvyber/cvax.git", |
17115
313