From 7d5efc46c50d679a55b829ad9ce60d6e3c8b26c2 Mon Sep 17 00:00:00 2001 From: zombiej Date: Tue, 13 Nov 2018 00:16:10 +0800 Subject: [PATCH] add onFocus & onBlur def on TreeSelect fix #13100 --- components/tree-select/interface.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/tree-select/interface.tsx b/components/tree-select/interface.tsx index e867f752d5..cdfd5f6721 100644 --- a/components/tree-select/interface.tsx +++ b/components/tree-select/interface.tsx @@ -43,6 +43,8 @@ export interface TreeSelectProps extends AbstractSelectProps { onSearch?: (value: any) => void; onSelect?: (value: any) => void; onTreeExpand?: (keys: Array) => void; + onFocus?: React.FocusEventHandler; + onBlur?: React.FocusEventHandler; searchPlaceholder?: string; showCheckedStrategy?: 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD'; suffixIcon?: React.ReactNode;