Skip to content

Commit

Permalink
close ant-design#10745, move dropdownMatchSelectWidth into AbstractSe…
Browse files Browse the repository at this point in the history
…lectProps
  • Loading branch information
zombieJ committed Jun 7, 2018
1 parent b524e1f commit 78adc05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion components/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand Down
1 change: 0 additions & 1 deletion components/tree-select/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 78adc05

Please sign in to comment.