Component Props Interfaces
ReactAppleTreeProps<T>
Main props interface for the ReactAppleTree component.ThemeProps<T>
Theme configuration interface.ThemeTreeProps<T>
Base theme properties.style- Styles for the outer tree containerinnerStyle- Styles for the inner tree wrapperreactVirtualizedListProps- Props passed to react-window’s List componentscaffoldBlockPxWidth- Width of each indentation level in pixelsslideRegionSize- Size of the drag slide region in pixelsrowHeight- Height of each row in pixelsnodeContentRenderer- Custom node renderer componentplaceholderRenderer- Custom drop placeholder renderer
Node Data Interfaces
TreeNode<T>
Basic node wrapper.TreePath
Path information.TreeIndex
Index information.FullTree<T>
Complete tree data.NodeData<T>
Combines node, path, and index information.ExtendedNodeData<T>
Extended node information with parent and search data.parentNode- The parent node (undefined for root nodes)lowerSiblingCounts- Array tracking sibling counts at each depthisSearchMatch- Whether this node matches the current searchisSearchFocus- Whether this node is the focused search result
generateNodeProps and canDrag functions.
FlatDataItem<T>
Node data in flattened tree structure.SearchData<T>
Node data with search query.searchMethod function.
ExtendedNodeProps
Additional props returned bygenerateNodeProps.
Callback Data Interfaces
OnVisibilityToggleData<T>
Data passed toonVisibilityToggle callback.
OnDragStateChangedData<T>
Data passed toonDragStateChanged callback.
OnDragPreviousAndNextLocation<T>
Drag location information passed tocanDrop.
OnMovePreviousAndNextLocation<T>
Move location information passed toonMoveNode.
ShouldCopyData<T>
Data passed toshouldCopyOnOutsideDrop function.
Renderer Props Interfaces
NodeRendererProps<T>
Props passed to custom node renderer components.PlaceholderRendererProps<T>
Props passed to custom placeholder renderer components.TreeRendererProps<T>
Props passed to custom tree row renderer components.Utility Function Interfaces
GetDescendantCountFnParams<T>
Parameters forgetDescendantCount utility.
GetVisibleNodeCountFnParams<T>
Parameters forgetVisibleNodeCount utility.
GetVisibleNodeInfoAtIndexFnParams<T>
Parameters forgetVisibleNodeInfoAtIndex utility.
WalkFnParams<T>
Parameters forwalk utility.
MapFnParams<T>
Parameters formap utility.
ToggleExpandedForAllFnParams<T>
Parameters fortoggleExpandedForAll utility.
ChangeNodeAtPathFnParams<T>
Parameters forchangeNodeAtPath utility.
RemoveNodeAtPathFnParams<T>
Parameters forremoveNodeAtPath utility.
RemoveNodeFnParams<T>
Parameters forremoveNode utility.
GetNodeAtPathFnParams<T>
Parameters forgetNodeAtPath utility.
AddNodeUnderParentFnParams<T>
Parameters foraddNodeUnderParent utility.
InsertNodeFnParams<T>
Parameters forinsertNode utility.
GetFlatDataFromTreeFnParams<T>
Parameters forgetFlatDataFromTree utility.
GetTreeFromFlatDataFnParams<T>
Parameters forgetTreeFromFlatData utility.
FindFnParams<T>
Parameters forfind utility.
See Also
- Type Aliases - Type alias definitions
- Component Props - Main component documentation
- Utility Functions - Utility function documentation