diff --git a/src/internals/index.js b/src/internals/index.js index f6c1d9f..2cb9bb4 100644 --- a/src/internals/index.js +++ b/src/internals/index.js @@ -120,7 +120,12 @@ export function createStitches(config = {}) { if (variants) { variantStyles = Object.keys(variants) .map((prop) => { - const propValue = props[prop] || defaultVariants[prop]; + let propValue = props[prop]; + + if (propValue === undefined) { + propValue = defaultVariants[prop]; + } + let styleSheetKey = ''; // Handle responsive prop value