fix table onChange pagination type (#11291)

Update interface.tsx TableProps onChange
This commit is contained in:
Eager Wei 2018-07-17 17:56:24 +08:00 committed by 偏右
parent 705e57f7e8
commit 9c792d52a8

View File

@ -106,7 +106,7 @@ export interface TableProps<T> {
onExpandedRowsChange?: (expandedRowKeys: string[] | number[]) => void;
onExpand?: (expanded: boolean, record: T) => void;
onChange?: (
pagination: PaginationConfig | boolean,
pagination: PaginationConfig,
filters: Record<keyof T, string[]>,
sorter: SorterResult<T>,
) => void;