@jasperoosthoek/react-toolbox 0.6.6 → 0.6.8

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
@@ -274,3 +274,10 @@
274
274
  ##### Version 0.6.6
275
275
  - Improve types of `FormFields`
276
276
  - Validate `list` argument of `FormDropdown` component
277
+
278
+ ##### Version 0.6.7
279
+ - New `customHeader` in `DataTable` component
280
+ - Stricter types in `FormDropdown` component
281
+
282
+ ##### Version 0.6.8
283
+ - Fix: always opening `EditModal` when clicking row of `DataTable` regardless of `showEditModalOnClickRow` prop
@@ -30,6 +30,7 @@ export type DataTableHeader = {
30
30
  search?: boolean;
31
31
  numberOfRows?: boolean;
32
32
  pagination?: boolean;
33
+ customHeader?: ReactElement | string;
33
34
  };
34
35
  export type DataTableProps<D extends any[]> = {
35
36
  data: D;