Skip to content

Profectus / features/trees/tree / createTreeNode

Function: createTreeNode() ​

createTreeNode<T>(optionsFunc?): any

Lazily creates a tree node with the given options.

Type Parameters ​

• T extends TreeNodeOptions

Parameters ​

optionsFunc? ​

() => T

Tree Node options.

Returns ​

any

Defined in ​

profectus/src/features/trees/tree.tsx:67