mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
Update Tree types
This commit is contained in:
parent
126bb42ddd
commit
3fb478e743
@ -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; },
|
||||||
|
Loading…
Reference in New Issue
Block a user