close #10745, move dropdownMatchSelectWidth into AbstractSelectProps

This commit is contained in:
zombiej 2018-06-07 10:24:12 +08:00
parent b524e1fe7e
commit 78adc05973
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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>;