From e968b575a21b9fc61df79d628b4b6f19bf718ba8 Mon Sep 17 00:00:00 2001 From: Mitchell Demler Date: Mon, 20 Mar 2017 21:13:53 +1300 Subject: [PATCH] fix: move filterOption to AbstractSelectProps so that AutoComplete component types do not break. (#5393) --- components/select/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/index.tsx b/components/select/index.tsx index fd3fe869a1..c96ab6ce28 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -19,6 +19,7 @@ export interface AbstractSelectProps { disabled?: boolean; style?: React.CSSProperties; placeholder?: string; + filterOption?: boolean | ((inputValue: string, option: Object) => any); } export interface SelectProps extends AbstractSelectProps { @@ -26,7 +27,6 @@ export interface SelectProps extends AbstractSelectProps { defaultValue?: SelectValue; combobox?: boolean; multiple?: boolean; - filterOption?: boolean | ((inputValue: string, option: Object) => any); tags?: boolean; onSelect?: (value: SelectValue, option: Object) => any; onDeselect?: (value: SelectValue) => any;