From 3fb478e743f3bad23dc300f501df11e5423468ba Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Thu, 21 Jun 2018 14:38:44 +0800 Subject: [PATCH] Update Tree types --- components/tree/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tree/index.tsx b/components/tree/index.tsx index b027f2d20a..70ed6963d4 100644 --- a/components/tree/index.tsx +++ b/components/tree/index.tsx @@ -74,6 +74,7 @@ export interface TreeProps { /** 默认选中的树节点 */ defaultSelectedKeys?: string[]; /** 展开/收起节点时触发 */ + selectable?: boolean; onExpand?: ( expandedKeys: string[], info: { node: AntTreeNode; expanded: boolean; },