ywana-core8 0.0.96 → 0.0.97

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.cjs CHANGED
@@ -1135,7 +1135,15 @@ var DataTableCell = function DataTableCell(_ref2) {
1135
1135
  _onChange = column.onChange,
1136
1136
  options = column.options;
1137
1137
 
1138
- if (id === "checked") ; else if (editable && _onChange) {
1138
+ if (id === "checked") {
1139
+ return /*#__PURE__*/React__default["default"].createElement(CheckBox, {
1140
+ id: id,
1141
+ value: cell,
1142
+ onChange: function onChange(id, value) {
1143
+ return _onChange(row.id, id, value);
1144
+ }
1145
+ });
1146
+ } else if (editable && _onChange) {
1139
1147
  switch (type) {
1140
1148
  case "ICON":
1141
1149
  return /*#__PURE__*/React__default["default"].createElement(Icon, {