interface RecursiveTreeViewProps<T> {
    foldControls?: RefObject<TreeFoldControls>;
    onFold?: OnFoldHandler;
    renderer: TreeNodeComponent<T>;
    startClosed?: boolean;
    value: MutableRefObject<T>;
}

Type Parameters

  • T extends Tree<any>

    the type of tree that the component prop will be rendering

Properties

foldControls?: RefObject<TreeFoldControls>
onFold?: OnFoldHandler
renderer: TreeNodeComponent<T>

the component that will be used to render the tree's nodes.

startClosed?: boolean
value: MutableRefObject<T>

a RefObject of the tree that will be rendered.