fix(types): update [Column] types (#1974)
							parent
							
								
									3e0344d543
								
							
						
					
					
						commit
						63eabbbb7f
					
				|  | @ -21,6 +21,15 @@ export declare class Column extends AntdComponent { | |||
|    * @type string | ||||
|    */ | ||||
|   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 | ||||
|  | @ -33,6 +42,12 @@ export declare class Column extends AntdComponent { | |||
|    * @type string | ||||
|    */ | ||||
|   dataIndex?: string; | ||||
|    | ||||
|   /** | ||||
|   * Default filtered values	 | ||||
|   * @type string[] | ||||
|   */ | ||||
|   defaultFilteredValue?: string[]; | ||||
| 
 | ||||
|   /** | ||||
|    * Default order of sorted values: 'ascend' 'descend' null | ||||
|  | @ -115,7 +130,14 @@ export declare class Column extends AntdComponent { | |||
|    * @type boolean | string | ||||
|    */ | ||||
|   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
	
	 Hawk
						Hawk