fix(types): update [Column] types (#1974)
parent
3e0344d543
commit
63eabbbb7f
|
@ -22,6 +22,15 @@ export declare class Column extends AntdComponent {
|
|||
*/
|
||||
align?: 'left' | 'right' | 'center';
|
||||
|
||||
/**
|
||||
* ellipsize cell content, not working with sorter and filters for now.
|
||||
* tableLayout would be fixed when ellipsis is true.
|
||||
* @default false
|
||||
* @type boolean
|
||||
*/
|
||||
ellipsis?: boolean;
|
||||
|
||||
|
||||
/**
|
||||
* Span of this column's title
|
||||
* @type number
|
||||
|
@ -34,6 +43,12 @@ export declare class Column extends AntdComponent {
|
|||
*/
|
||||
dataIndex?: string;
|
||||
|
||||
/**
|
||||
* Default filtered values
|
||||
* @type string[]
|
||||
*/
|
||||
defaultFilteredValue?: string[];
|
||||
|
||||
/**
|
||||
* Default order of sorted values: 'ascend' 'descend' null
|
||||
* @type string
|
||||
|
@ -116,6 +131,13 @@ export declare class Column extends AntdComponent {
|
|||
*/
|
||||
sortOrder?: boolean | SortOrder;
|
||||
|
||||
/**
|
||||
* supported sort way, could be 'ascend', 'descend'
|
||||
* @default ['ascend', 'descend']
|
||||
* @type string[]
|
||||
*/
|
||||
sortDirections?: string[];
|
||||
|
||||
/**
|
||||
* Title of this column
|
||||
* @type any (string | slot)
|
||||
|
|
Loading…
Reference in New Issue