UNPKG

react-native-tree-multi-select

Version:

A super-fast, customizable tree view component for React Native with multi-selection, checkboxes, and search filtering capabilities.

12 lines 627 B
import type { TreeNode } from "../types/treeView.types"; /** * Initialize the maps for tracking tree nodes and their parent-child relationships. * * This function is intended to be called once, during component initialization, * with the initial tree data and any preselected node IDs. * * @param initialData - An array of TreeNode objects that represent the initial tree structure. * @param preselectedIds - An optional array of TreeNode IDs that should be preselected. */ export declare function initializeNodeMaps<ID>(storeId: string, initialData: TreeNode<ID>[]): void; //# sourceMappingURL=treeNode.helper.d.ts.map