@tw-classed/core
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -25,3 +25,3 @@ "use strict"; | ||
if (Reflect.has(className, _constants.TW_VARS)) { | ||
if ((typeof className === "function" || typeof className === "object") && Reflect.has(className, _constants.TW_VARS)) { | ||
const record = Reflect.get(className, _constants.TW_VARS); | ||
@@ -28,0 +28,0 @@ Object.assign(variantObj, record.variants); |
{ | ||
"name": "@tw-classed/core", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A Stitches & Styled-Components inspired library to create reusable Tailwind react components", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
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
24884