Skip to content

Commit

Permalink
Update packages/x-tree-view/src/internals/plugins/useTreeViewExpansio…
Browse files Browse the repository at this point in the history
…n/useTreeViewExpansion.types.ts

Co-authored-by: Nora <[email protected]>
Signed-off-by: Flavien DELANGLE <[email protected]>
  • Loading branch information
flaviendelangle and noraleonte authored May 23, 2024
1 parent f485c04 commit d7423e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface UseTreeViewExpansionInstance extends UseTreeViewExpansionPublic
isItemExpanded: (itemId: TreeViewItemId) => boolean;
/**
* Check if an item is expandable.
* Currently, an item is expandable if it has some children.
* Currently, an item is expandable if it has children.
* In the future, the user should be able to flag an item as expandable even if it has no loaded children to support children lazy loading.
* @param {TreeViewItemId} itemId The id of the item to check.
* @returns {boolean} `true` if the item can be expanded, `false` otherwise.
Expand Down

0 comments on commit d7423e1

Please sign in to comment.