fix(components): [tree] Fix TreeOptionProps (#12511)

fix(components): fix TreeOptionProps

Co-authored-by: wu.zeMin <244@qq.com>
This commit is contained in:
lyric-zemin 2023-05-13 12:12:25 +08:00 committed by GitHub
parent 701940731a
commit ea82d3f7c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ export declare interface TreeStoreOptions {
export declare interface TreeOptionProps {
children?: string
label?: string | ((data: TreeNodeData, node: Node) => string)
disabled?: string | ((data: TreeNodeData, node: Node) => string)
disabled?: string | ((data: TreeNodeData, node: Node) => boolean)
isLeaf?: string | ((data: TreeNodeData, node: Node) => boolean)
class?: (
data: TreeNodeData,