@lumx/react 3.19.1-alpha.3 → 3.19.1-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -13697,8 +13697,8 @@ const Thumbnail = forwardRef((props, ref) => {
13697
13697
  // Remove the image on custom fallback.
13698
13698
  imageErrorStyle.display = 'none';
13699
13699
  }
13700
- const isLink = (linkProps === null || linkProps === void 0 ? void 0 : linkProps.href) || linkAs;
13701
- const isClickable = !isAnyDisabled && (isLink || forwardedProps.onClick);
13700
+ const isLink = Boolean((linkProps === null || linkProps === void 0 ? void 0 : linkProps.href) || linkAs);
13701
+ const isClickable = !isAnyDisabled && Boolean(isLink || !!forwardedProps.onClick);
13702
13702
  const Wrapper = isClickable ? RawClickable : 'div';
13703
13703
  const wrapperProps = _objectSpread2({}, forwardedProps);
13704
13704
  if (isClickable) {