Skip to content

Commit

Permalink
Update packages/x-tree-view/src/internals/plugins/useTreeViewItems/us…
Browse files Browse the repository at this point in the history
…eTreeViewItems.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 d7423e1 commit 74460fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface UseTreeViewItemsInstance<R extends {}> extends UseTreeViewItems
isItemDisabled: (itemId: TreeViewItemId) => boolean;
/**
* Check if a given item is navigable (i.e.: if it can be accessed through keyboard navigation).
* An item is disabled if it is not disabled or if the `disabledItemsFocusable` prop is `true`.
* An item is navigable if it is not disabled or if the `disabledItemsFocusable` prop is `true`.
* @param {TreeViewItemId} itemId The id of the item to check.
* @returns {boolean} `true` if the item is navigable, `false` otherwise.
*/
Expand Down

0 comments on commit 74460fb

Please sign in to comment.