We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdac96b commit 18ce372Copy full SHA for 18ce372
components/tree/Tree.tsx
@@ -29,6 +29,8 @@ export interface TreeDataItem {
29
icon?: VNode;
30
slots?: Record<string, string>;
31
switcherIcon?: VNode;
32
+ // support custom field
33
+ [key: string]: any;
34
}
35
36
interface DefaultEvent {
0 commit comments