@typeolymp/ui-components 1.16.6 → 1.16.7

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/build/index.es.js CHANGED
@@ -3971,7 +3971,9 @@ var Wrapper$9 = styled.div(templateObject_1$O || (templateObject_1$O = __makeTem
3971
3971
  var onClick = _a.onClick;
3972
3972
  return (onClick ? "pointer" : "default");
3973
3973
  }, function (_a) {
3974
- var color = _a.color;
3974
+ var color = _a.color, onClick = _a.onClick;
3975
+ if (!onClick)
3976
+ return;
3975
3977
  switch (color) {
3976
3978
  default:
3977
3979
  case "gray":