From 087b00e09b35426f0b578a7bfd761168fc8ba52a Mon Sep 17 00:00:00 2001 From: zombiej Date: Tue, 13 Nov 2018 10:42:10 +0800 Subject: [PATCH] support auto focus --- components/tree-select/interface.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tree-select/interface.tsx b/components/tree-select/interface.tsx index cdfd5f6721..0bda5dec36 100644 --- a/components/tree-select/interface.tsx +++ b/components/tree-select/interface.tsx @@ -30,6 +30,7 @@ export interface TreeDataSimpleMode { } export interface TreeSelectProps extends AbstractSelectProps { + autoFocus?: boolean; defaultValue?: string | number | Array; dropdownStyle?: React.CSSProperties; filterTreeNode?: (inputValue: string, treeNode: any) => boolean | boolean;