@zohodesk/components 1.0.0-temp-217.4 → 1.0.0-temp-217.5

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.
@@ -92,7 +92,7 @@ const Switch = props => {
92
92
  checked: isChecked,
93
93
  disabled: isDisabled,
94
94
  readOnly: isReadOnly,
95
- onClick: !isDisabled || !isReadOnly ? onChange : null,
95
+ onChange: !isDisabled || !isReadOnly ? onChange : null,
96
96
  role: role,
97
97
  className: trackClass,
98
98
  "data-title": title,
@@ -107,7 +107,7 @@ var Switch = function Switch(props) {
107
107
  checked: isChecked,
108
108
  disabled: isDisabled,
109
109
  readOnly: isReadOnly,
110
- onClick: !isDisabled || !isReadOnly ? onChange : null,
110
+ onChange: !isDisabled || !isReadOnly ? onChange : null,
111
111
  role: role,
112
112
  className: trackClass,
113
113
  "data-title": title
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-217.4",
3
+ "version": "1.0.0-temp-217.5",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,