mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 11:18:14 +08:00
fix https://github.com/ant-design/ant-design/issues/11423. TreeNode can accept custom prop
This commit is contained in:
parent
044982ddb7
commit
500ef62638
@ -37,6 +37,8 @@ export interface AntTreeNodeProps {
|
||||
selectable?: boolean;
|
||||
icon?: ((treeNode: AntdTreeNodeAttribute) => React.ReactNode) | React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
|
||||
[customProp: string]: any;
|
||||
}
|
||||
|
||||
export interface AntTreeNode extends React.Component<AntTreeNodeProps, {}> { }
|
||||
|
Loading…
Reference in New Issue
Block a user