material-react-table-narender 2.13.33 → 2.13.35
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.esm.js +28 -24
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +27 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/body/MRT_TableBodyRow.tsx +3 -0
package/package.json
CHANGED
@@ -161,6 +161,8 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
|
|
161
161
|
: `${darken(baseBackgroundColor, 0.3)}`
|
162
162
|
: undefined;
|
163
163
|
|
164
|
+
console.log('row.id', row);
|
165
|
+
|
164
166
|
return (
|
165
167
|
<>
|
166
168
|
<TableRow
|
@@ -229,6 +231,7 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
|
|
229
231
|
rowPinningDisplayMode?.includes('sticky') && isRowPinned ? 2 : 0,
|
230
232
|
...(sx as any),
|
231
233
|
})}
|
234
|
+
key={row?.original?.id}
|
232
235
|
>
|
233
236
|
{virtualPaddingLeft ? (
|
234
237
|
<td style={{ display: 'flex', width: virtualPaddingLeft }} />
|