mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
fix: sorter compare and multiple should be optional (#26686)
close #26085
This commit is contained in:
parent
75f50f9d17
commit
0472da5a40
@ -77,15 +77,14 @@ export interface FilterDropdownProps {
|
||||
|
||||
export interface ColumnType<RecordType> extends RcColumnType<RecordType> {
|
||||
title?: ColumnTitle<RecordType>;
|
||||
|
||||
// Sorter
|
||||
sorter?:
|
||||
| boolean
|
||||
| CompareFn<RecordType>
|
||||
| {
|
||||
compare: CompareFn<RecordType>;
|
||||
compare?: CompareFn<RecordType>;
|
||||
/** Config multiple sorter order priority */
|
||||
multiple: number;
|
||||
multiple?: number;
|
||||
};
|
||||
sortOrder?: SortOrder;
|
||||
defaultSortOrder?: SortOrder;
|
||||
|
Loading…
Reference in New Issue
Block a user