Skip to content

Commit

Permalink
[TreeView] Remove remaining occurences of the word node in the codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Apr 9, 2024
1 parent 616cf32 commit 5cb4aad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export interface UseTreeViewItemsInstance<R extends {}> extends UseTreeViewItems
isItemDisabled: (itemId: string | null) => itemId is string;
/**
* Freeze any future update to the state based on the `items` prop.
* This is useful when `useTreeViewJSXNodes` is used to avoid having conflicting sources of truth.
* This is useful when `useTreeViewJSXItems` is used to avoid having conflicting sources of truth.
*/
preventItemUpdates: () => void;
/**
* Check if the updates to the state based on the `items` prop are prevented.
* This is useful when `useTreeViewJSXNodes` is used to avoid having conflicting sources of truth.
* This is useful when `useTreeViewJSXItems` is used to avoid having conflicting sources of truth.
* @returns {boolean} `true` if the updates to the state based on the `items` prop are prevented.
*/
areItemUpdatesPrevented: () => boolean;
Expand Down

0 comments on commit 5cb4aad

Please sign in to comment.