diff --git a/components/tree/Tree.tsx b/components/tree/Tree.tsx index aa3da79642..c334bfb822 100644 --- a/components/tree/Tree.tsx +++ b/components/tree/Tree.tsx @@ -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 { }