@mkt-loitd/react-table-grid-custom 1.3.5 → 1.3.6
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -357,11 +357,11 @@ var ReactTableGridCustomInner = (props, ref) => {
|
|
|
357
357
|
import_core.Checkbox,
|
|
358
358
|
{
|
|
359
359
|
...props2,
|
|
360
|
-
checked:
|
|
361
|
-
onChange: (e) =>
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
360
|
+
checked: Boolean(checked),
|
|
361
|
+
onChange: (e) => onChange(
|
|
362
|
+
e.currentTarget.checked,
|
|
363
|
+
e.nativeEvent instanceof MouseEvent ? e.nativeEvent.shiftKey : false
|
|
364
|
+
)
|
|
365
365
|
}
|
|
366
366
|
);
|
|
367
367
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -328,11 +328,11 @@ var ReactTableGridCustomInner = (props, ref) => {
|
|
|
328
328
|
Checkbox,
|
|
329
329
|
{
|
|
330
330
|
...props2,
|
|
331
|
-
checked:
|
|
332
|
-
onChange: (e) =>
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
331
|
+
checked: Boolean(checked),
|
|
332
|
+
onChange: (e) => onChange(
|
|
333
|
+
e.currentTarget.checked,
|
|
334
|
+
e.nativeEvent instanceof MouseEvent ? e.nativeEvent.shiftKey : false
|
|
335
|
+
)
|
|
336
336
|
}
|
|
337
337
|
);
|
|
338
338
|
}
|