Michael Li
2020-04-14 20:34:17 -07:00
committed by GitHub
parent 8327c92af8
commit cd5fa94c14
+1 -1
View File
@@ -169,7 +169,7 @@ export type UseTableOptions<D extends object> = {
data: D[];
} & Partial<{
initialState: Partial<TableState<D>>;
reducer: (newState: TableState<D>, action: ActionType, previousState: TableState<D>) => TableState<D>;
stateReducer: (newState: TableState<D>, action: ActionType, previousState: TableState<D>) => TableState<D>;
useControlledState: (state: TableState<D>, meta: Meta<D>) => TableState<D>;
defaultColumn: Partial<Column<D>>;
getSubRows: (originalRow: D, relativeIndex: number) => D[];