x-ui-design 0.4.2 → 0.4.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
@@ -1466,7 +1466,7 @@ const Switch = ({
1466
1466
  }
1467
1467
  setInternalChecked(!internalChecked);
1468
1468
  e.target.value = !internalChecked;
1469
- onClick?.(e);
1469
+ onClick?.(e.target.value);
1470
1470
  onChange?.(e);
1471
1471
  };
1472
1472
  React$1.useEffect(() => {