material-react-table 1.2.6 → 1.2.7
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/package.json
CHANGED
|
@@ -148,10 +148,9 @@ export const MRT_TableRoot = <TData extends Record<string, any> = {}>(
|
|
|
148
148
|
Cell: ({ row }) => (
|
|
149
149
|
<MRT_ExpandButton row={row as any} table={table as any} />
|
|
150
150
|
),
|
|
151
|
-
Header:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
) : null,
|
|
151
|
+
Header: props.enableExpandAll
|
|
152
|
+
? () => <MRT_ExpandAllButton table={table as any} />
|
|
153
|
+
: null,
|
|
155
154
|
header: props.localization.expand,
|
|
156
155
|
size: 60,
|
|
157
156
|
...props.defaultDisplayColumn,
|
|
@@ -162,10 +161,10 @@ export const MRT_TableRoot = <TData extends Record<string, any> = {}>(
|
|
|
162
161
|
Cell: ({ row }) => (
|
|
163
162
|
<MRT_SelectCheckbox row={row as any} table={table as any} />
|
|
164
163
|
),
|
|
165
|
-
Header:
|
|
166
|
-
props.enableSelectAll && props.enableMultiRowSelection
|
|
167
|
-
<MRT_SelectCheckbox selectAll table={table as any} />
|
|
168
|
-
|
|
164
|
+
Header:
|
|
165
|
+
props.enableSelectAll && props.enableMultiRowSelection
|
|
166
|
+
? () => <MRT_SelectCheckbox selectAll table={table as any} />
|
|
167
|
+
: null,
|
|
169
168
|
header: props.localization.select,
|
|
170
169
|
size: 60,
|
|
171
170
|
...props.defaultDisplayColumn,
|