ywana-core8 0.0.406 → 0.0.407

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/dist/index.cjs CHANGED
@@ -173,7 +173,7 @@ var Icon = function Icon(_ref) {
173
173
  event.preventDefault();
174
174
  }
175
175
 
176
- if (action) action(event);
176
+ if (action && !disabled) action(event);
177
177
  }
178
178
 
179
179
  var style = disabled ? "disabled" : clickable ? "clickable" : "";