@jasperoosthoek/react-toolbox 0.6.4 → 0.6.5
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/change-log.md
CHANGED
|
@@ -266,4 +266,7 @@
|
|
|
266
266
|
- New `ResetButton` component
|
|
267
267
|
|
|
268
268
|
##### Version 0.6.4
|
|
269
|
-
- Remove Node polyfills to for the module to work with Webpak 5+
|
|
269
|
+
- Remove Node polyfills to for the module to work with Webpak 5+
|
|
270
|
+
|
|
271
|
+
##### Version 0.6.5
|
|
272
|
+
- The `DataTable` `selector` function can output `null` as well
|
|
@@ -14,7 +14,7 @@ export type DataTableColumn<R> = {
|
|
|
14
14
|
className?: string;
|
|
15
15
|
value?: number | string | ((row: R) => number);
|
|
16
16
|
formatSum?: ((value: number) => ReactElement | string | number) | ReactElement | string | number;
|
|
17
|
-
selector: number | string | ((row: R) => ReactElement | string | number | (ReactElement | string | number)[]);
|
|
17
|
+
selector: number | string | ((row: R) => ReactElement | string | number | null | (ReactElement | string | number | null)[]);
|
|
18
18
|
onClick?: OnClickRow<R>;
|
|
19
19
|
};
|
|
20
20
|
export type RowsPerPageOptions = number[] | [...number[], null];
|