Skip to content

Commit

Permalink
doc(Tree): add remarks for dataSource item (alibaba-fusion#4864)
Browse files Browse the repository at this point in the history
  • Loading branch information
YunMeng99 authored Jun 27, 2024
1 parent 9e159f2 commit c1548e3
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> 节点 - extra attributes in item are passed to the <li></li> node in the tree node.
*/
dataSource?: TreeDataType[];

Expand Down

0 comments on commit c1548e3

Please sign in to comment.