ywana-core8 0.0.147 → 0.0.151

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.
@@ -1091,7 +1091,9 @@ var DataTable = function DataTable(props) {
1091
1091
  sortable = _ref.sortable;
1092
1092
  return /*#__PURE__*/React.createElement("th", null, id === "checked" ? /*#__PURE__*/React.createElement(CheckBox, {
1093
1093
  onChange: checkAll
1094
- }) : /*#__PURE__*/React.createElement(Text, null, label), sortable ? /*#__PURE__*/React.createElement(Icon, {
1094
+ }) : /*#__PURE__*/React.createElement(Text, {
1095
+ key: "th_" + id
1096
+ }, label), sortable ? /*#__PURE__*/React.createElement(Icon, {
1095
1097
  icon: "arrow_up",
1096
1098
  size: "small",
1097
1099
  clickable: true
@@ -1127,8 +1129,9 @@ var DataTableRow = function DataTableRow(props) {
1127
1129
  onClick: function onClick(ev) {
1128
1130
  return onSelect(row, ev);
1129
1131
  }
1130
- }, columns.map(function (column) {
1132
+ }, columns.map(function (column, index) {
1131
1133
  return /*#__PURE__*/React.createElement(DataTableCell, {
1134
+ key: column.id + "_" + index,
1132
1135
  row: row,
1133
1136
  column: column,
1134
1137
  cell: row[column.id],
@@ -1293,6 +1296,7 @@ var DataTableCell = function DataTableCell(_ref2) {
1293
1296
  };
1294
1297
 
1295
1298
  return /*#__PURE__*/React.createElement("td", {
1299
+ key: column.id,
1296
1300
  className: column.id
1297
1301
  }, render(column.type));
1298
1302
  };