mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
parent
54b944e8ee
commit
0e1caae01d
@ -92,6 +92,14 @@ export interface SorterResult<T> {
|
||||
columnKey: string;
|
||||
}
|
||||
export type TableSize = 'default' | 'middle' | 'small';
|
||||
export interface ExpandIconProps<T> {
|
||||
prefixCls: string;
|
||||
expanded: boolean;
|
||||
record: T;
|
||||
needIndentSpaced: boolean;
|
||||
expandable: boolean;
|
||||
onExpand: (record: T, event: MouseEvent) => void;
|
||||
}
|
||||
export interface TableProps<T> {
|
||||
prefixCls?: string;
|
||||
dropdownPrefixCls?: string;
|
||||
@ -107,6 +115,7 @@ export interface TableProps<T> {
|
||||
defaultExpandAllRows?: boolean;
|
||||
defaultExpandedRowKeys?: string[] | number[];
|
||||
expandedRowKeys?: string[] | number[];
|
||||
expandIcon?: (props: ExpandIconProps<T>) => React.ReactNode;
|
||||
expandIconAsCell?: boolean;
|
||||
expandIconColumnIndex?: number;
|
||||
expandRowByClick?: boolean;
|
||||
|
@ -75,7 +75,7 @@
|
||||
"rc-slider": "~8.6.3",
|
||||
"rc-steps": "~3.3.0",
|
||||
"rc-switch": "~1.8.0",
|
||||
"rc-table": "~6.3.4",
|
||||
"rc-table": "~6.4.0",
|
||||
"rc-tabs": "~9.4.6",
|
||||
"rc-time-picker": "~3.4.0",
|
||||
"rc-tooltip": "~3.7.3",
|
||||
|
Loading…
Reference in New Issue
Block a user