Browse Source

move getPopupContainer from SelectProps to AbstractSelectProps (#11690)

pull/11701/head
Havin 6 years ago
committed by 偏右
parent
commit
2c4c5fc6e3
  1. 2
      components/select/index.tsx

2
components/select/index.tsx

@ -26,6 +26,7 @@ export interface AbstractSelectProps {
dropdownMenuStyle?: React.CSSProperties;
dropdownMatchSelectWidth?: boolean;
onSearch?: (value: string) => any;
getPopupContainer?: (triggerNode: Element) => HTMLElement;
filterOption?: boolean | ((inputValue: string, option: React.ReactElement<OptionProps>) => any);
id?: string;
}
@ -56,7 +57,6 @@ export interface SelectProps extends AbstractSelectProps {
maxTagPlaceholder?: React.ReactNode | ((omittedValues: SelectValue[]) => React.ReactNode);
optionFilterProp?: string;
labelInValue?: boolean;
getPopupContainer?: (triggerNode: Element) => HTMLElement;
tokenSeparators?: string[];
getInputElement?: () => React.ReactElement<any>;
autoFocus?: boolean;

Loading…
Cancel
Save