Skip to main content

useTreeChildren()

function useTreeChildren(options): {
childrenHasMatches: boolean;
renderChildren: (depth) => Element;
};

Parameters

ParameterType
options{ event: CoreTreeWidgetProps; renderChild: RenderTreeChild; tree: TreeNode; }
options.eventCoreTreeWidgetProps
options.renderChildRenderTreeChild
options.treeTreeNode

Returns

{
childrenHasMatches: boolean;
renderChildren: (depth) => Element;
}
NameType
childrenHasMatchesboolean
renderChildren()(depth) => Element