@okshaun/components 0.5.2 → 0.5.3

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.js CHANGED
@@ -3520,7 +3520,7 @@ const Chip = ({
3520
3520
  after: hasAfter
3521
3521
  });
3522
3522
  const iconSize = chipSizeToIconSize[size2];
3523
- const handleClick = () => {
3523
+ const handleClick = (e) => {
3524
3524
  if (dismissable && onDismiss) {
3525
3525
  onDismiss();
3526
3526
  } else if (isSelectable && groupContext) {
@@ -3532,7 +3532,7 @@ const Chip = ({
3532
3532
  groupContext.onChange(newValues);
3533
3533
  }
3534
3534
  } else if (onClick) {
3535
- onClick();
3535
+ onClick(e);
3536
3536
  }
3537
3537
  };
3538
3538
  const handleKeyDown = (e) => {