useTreeChildren()
function useTreeChildren(options): {
childrenHasMatches: boolean;
renderChildren: (depth) => Element;
};
Parameters
| Parameter | Type |
|---|---|
options | { event: CoreTreeWidgetProps; renderChild: RenderTreeChild; tree: TreeNode; } |
options.event | CoreTreeWidgetProps |
options.renderChild | RenderTreeChild |
options.tree | TreeNode |
Returns
{
childrenHasMatches: boolean;
renderChildren: (depth) => Element;
}
| Name | Type |
|---|---|
childrenHasMatches | boolean |
renderChildren() | (depth) => Element |