Add missing type definitions for table #8507 (#8511)

pull/8515/head
Dane David 7 years ago committed by Wei Zhu
parent 18723a37ee
commit 687b058dc0

@ -82,10 +82,12 @@ export interface TableProps<T> {
rowKey?: string | ((record: T, index: number) => string);
rowClassName?: (record: T, index: number) => string;
expandedRowRender?: any;
defaultExpandAllRows: boolean;
defaultExpandedRowKeys?: string[] | number[];
expandedRowKeys?: string[] | number[];
expandIconAsCell?: boolean;
expandIconColumnIndex?: number;
expandRowByClick: boolean;
onExpandedRowsChange?: (expandedRowKeys: string[] | number[]) => void;
onExpand?: (expanded: boolean, record: T) => void;
onChange?: (pagination: PaginationProps | boolean, filters: string[], sorter: Object) => any;

Loading…
Cancel
Save