mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
Fix #10838
Fix [#10838](https://github.com/ant-design/ant-design/issues/10838)
This commit is contained in:
parent
396f81dbab
commit
74755fef99
@ -27,7 +27,7 @@ export interface AntTreeNodeProps {
|
||||
title?: string | React.ReactNode;
|
||||
key?: string;
|
||||
isLeaf?: boolean;
|
||||
icon?: (treeNode: AntdTreeNodeAttribute) => React.ReactNode | React.ReactNode;
|
||||
icon?: ((treeNode: AntdTreeNodeAttribute) => React.ReactNode) | React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user