UseTreeResult<T>
UseTreeResult<
T
>:Required
<Omit
<UseTreeOptions
<T
>,"nodes"
|"onSelectionChange"
|"onUpdate"
>> &Pick
<TreeData
<TreeNodes
<T
>>,"selectedKeys"
> &object
Type declaration
actions
actions:
TreeActions
<T
>
DO NOT DESTRUCTURE THIS PROPERTY
The underlying useTreeData hook relies on "this" within certain methods and destructuring the actions will cause errors to be thrown
lookup
lookup:
Record
<Key
,TreeNode
<T
>>
tree
tree:
TreeNode
<T
>
Type Parameters
• T