Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit dd622e3

Browse files
committed
fix(types): make rowData optional as it begins to be deprecated
1 parent dcf1da1 commit dd622e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export type CellRendererArgs<ColumnData = {}> = {
55
columnData: ColumnData;
66
columnIndex: number;
77
dataKey: string;
8-
rowData: any;
8+
// @deprecated: Prefer getRowData with DataScrollerContext
9+
rowData?: any;
910
rowIndex: number;
1011
};
1112
export type HeaderRendererArgs = {

0 commit comments

Comments
 (0)