Update Tree types

This commit is contained in:
Wei Zhu 2018-06-21 14:38:44 +08:00
parent 126bb42ddd
commit 3fb478e743

View File

@ -74,6 +74,7 @@ export interface TreeProps {
/** 默认选中的树节点 */ /** 默认选中的树节点 */
defaultSelectedKeys?: string[]; defaultSelectedKeys?: string[];
/** 展开/收起节点时触发 */ /** 展开/收起节点时触发 */
selectable?: boolean;
onExpand?: ( onExpand?: (
expandedKeys: string[], expandedKeys: string[],
info: { node: AntTreeNode; expanded: boolean; }, info: { node: AntTreeNode; expanded: boolean; },