mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
sort asc treeselect types add maxTagPlaceholder
This commit is contained in:
parent
368468829f
commit
36ed95c8ba
@ -30,29 +30,30 @@ export interface TreeDataSimpleMode {
|
||||
}
|
||||
|
||||
export interface TreeSelectProps extends AbstractSelectProps {
|
||||
value?: string | number | Array<any>;
|
||||
defaultValue?: string | number | Array<any>;
|
||||
multiple?: boolean;
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
filterTreeNode?: (inputValue: string, treeNode: any) => boolean | boolean;
|
||||
getPopupContainer?: (triggerNode: Element) => HTMLElement;
|
||||
labelInValue?: boolean;
|
||||
loadData?: (node: any) => void;
|
||||
maxTagCount?: number;
|
||||
onSelect?: (value: any) => void;
|
||||
maxTagPlaceholder?: React.ReactNode | ((omittedValues: any[]) => React.ReactNode);
|
||||
multiple?: boolean;
|
||||
onChange?: (value: any, label: any, extra: any) => void;
|
||||
onSearch?: (value: any) => void;
|
||||
onSelect?: (value: any) => void;
|
||||
onTreeExpand?: (keys: Array<string>) => void;
|
||||
searchPlaceholder?: string;
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
treeDefaultExpandAll?: boolean;
|
||||
showCheckedStrategy?: 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD';
|
||||
suffixIcon?: React.ReactNode;
|
||||
treeCheckable?: boolean | React.ReactNode;
|
||||
treeDefaultExpandedKeys?: Array<string>;
|
||||
filterTreeNode?: (inputValue: string, treeNode: any) => boolean | boolean;
|
||||
treeNodeFilterProp?: string;
|
||||
treeNodeLabelProp?: string;
|
||||
treeCheckStrictly?: boolean;
|
||||
treeData?: Array<TreeNode>;
|
||||
treeDataSimpleMode?: boolean | TreeDataSimpleMode;
|
||||
loadData?: (node: any) => void;
|
||||
showCheckedStrategy?: 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD';
|
||||
labelInValue?: boolean;
|
||||
treeCheckStrictly?: boolean;
|
||||
getPopupContainer?: (triggerNode: Element) => HTMLElement;
|
||||
suffixIcon?: React.ReactNode;
|
||||
treeDefaultExpandAll?: boolean;
|
||||
treeDefaultExpandedKeys?: Array<string>;
|
||||
treeExpandedKeys?: Array<string>;
|
||||
onTreeExpand?: (keys: Array<string>) => void;
|
||||
treeNodeFilterProp?: string;
|
||||
treeNodeLabelProp?: string;
|
||||
value?: string | number | Array<any>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user