@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.js CHANGED
@@ -3998,7 +3998,9 @@ var Wrapper$9 = styled__default["default"].div(templateObject_1$O || (templateOb
3998
3998
  var onClick = _a.onClick;
3999
3999
  return (onClick ? "pointer" : "default");
4000
4000
  }, function (_a) {
4001
- var color = _a.color;
4001
+ var color = _a.color, onClick = _a.onClick;
4002
+ if (!onClick)
4003
+ return;
4002
4004
  switch (color) {
4003
4005
  default:
4004
4006
  case "gray":