@aivenio/aquarium 1.80.0 → 1.80.1
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.
@@ -111,7 +111,7 @@ export declare type DataListProps<C extends DataListColumn<R>, R extends DataTab
|
|
111
111
|
/**
|
112
112
|
* Determines a custom className for the row.
|
113
113
|
*/
|
114
|
-
rowClassName?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => string;
|
114
|
+
rowClassName?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => string | undefined;
|
115
115
|
/**
|
116
116
|
* Control panel collapsibility.
|
117
117
|
*/
|
@@ -14,7 +14,7 @@ declare type DataListRowProps<C extends DataListColumn<R>, R extends DataTableRo
|
|
14
14
|
menu: JSX.Element | undefined;
|
15
15
|
active?: boolean;
|
16
16
|
disabled?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => boolean;
|
17
|
-
rowClassName?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => string;
|
17
|
+
rowClassName?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => string | undefined;
|
18
18
|
renderFirstColumn?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => React.ReactNode | undefined;
|
19
19
|
additionalRowProps?: (row: R, index: number, rows: DataListGroupedRows<R> | R[]) => React.HTMLProps<HTMLDivElement>;
|
20
20
|
additionalColumnProps?: (column: C, index: number, columns: C[], row: R) => React.HTMLProps<HTMLDivElement>;
|
@@ -35,7 +35,7 @@ export declare type DataTableProps<C extends DataTableColumn<R>, R extends DataT
|
|
35
35
|
/**
|
36
36
|
* Determines a custom className for the row.
|
37
37
|
*/
|
38
|
-
rowClassName?: (row: R, index: number, rows: R[]) => string;
|
38
|
+
rowClassName?: (row: R, index: number, rows: R[]) => string | undefined;
|
39
39
|
/**
|
40
40
|
* Sort a column by default. Direction defaults to ascending.
|
41
41
|
*/
|