Add tree explorer tree node test

This commit is contained in:
huchenlei
2024-08-31 20:52:15 -04:00
committed by Chenlei Hu
parent bc7da487e8
commit 5383f97eba
3 changed files with 41 additions and 1 deletions

View File

@@ -1,8 +1,8 @@
export interface TreeExplorerNode<T = any> {
key: string
label: string
data: T
leaf: boolean
data?: T
children?: TreeExplorerNode<T>[]
icon?: string
getIcon?: (node: TreeExplorerNode<T>) => string