Skip to content

Commit

Permalink
feat(Tree): dataSource item add remarks close #4644
Browse files Browse the repository at this point in the history
  • Loading branch information
YunMeng99 committed Jun 18, 2024
1 parent 740d523 commit 324be6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/tree/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ export interface TreeProps<
/**
* 数据源,该属性优先级高于 children
* @en Data source of the tree component
* @remarks item中多余的属性会传递给 tree node 内的 <li></li> 节点,并被渲染
*/
dataSource?: TreeDataType[];

Expand Down

0 comments on commit 324be6a

Please sign in to comment.