mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
close #10745, move dropdownMatchSelectWidth into AbstractSelectProps
This commit is contained in:
parent
b524e1fe7e
commit
78adc05973
@ -22,6 +22,7 @@ export interface AbstractSelectProps {
|
||||
dropdownClassName?: string;
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
dropdownMenuStyle?: React.CSSProperties;
|
||||
dropdownMatchSelectWidth?: boolean;
|
||||
onSearch?: (value: string) => any;
|
||||
filterOption?: boolean | ((inputValue: string, option: React.ReactElement<OptionProps>) => any);
|
||||
}
|
||||
@ -48,7 +49,6 @@ export interface SelectProps extends AbstractSelectProps {
|
||||
onInputKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
||||
maxTagCount?: number;
|
||||
maxTagPlaceholder?: React.ReactNode | ((omittedValues: SelectValue[]) => React.ReactNode);
|
||||
dropdownMatchSelectWidth?: boolean;
|
||||
optionFilterProp?: string;
|
||||
labelInValue?: boolean;
|
||||
getPopupContainer?: (triggerNode: Element) => HTMLElement;
|
||||
|
@ -17,7 +17,6 @@ export interface TreeSelectProps extends AbstractSelectProps {
|
||||
onSearch?: (value: any) => void;
|
||||
searchPlaceholder?: string;
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
dropdownMatchSelectWidth?: boolean;
|
||||
treeDefaultExpandAll?: boolean;
|
||||
treeCheckable?: boolean | React.ReactNode;
|
||||
treeDefaultExpandedKeys?: Array<string>;
|
||||
|
Loading…
Reference in New Issue
Block a user