@gouvfr-lasuite/ui-kit 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -621,6 +621,7 @@ export declare const useTree: <T>(initialItems: TreeViewDataType<T>[], refreshCa
621
621
  handleLoadChildren: (nodeId: string) => Promise<TreeViewDataType<T>[]>;
622
622
  selectNodeById: (nodeId: string) => void;
623
623
  getParent: (nodeId: string) => TreeViewDataType<T> | null;
624
+ getNode: (nodeId: string) => TreeViewDataType<T> | undefined;
624
625
  getParentId: (nodeId: string) => Key | null;
625
626
  };
626
627