Skip to content

Profectus / features/trees/tree / createTree

Function: createTree() ​

createTree<T>(optionsFunc): any

Lazily creates a tree with the given options.

Type Parameters ​

• T extends TreeOptions

Parameters ​

optionsFunc ​

() => T

Tree options.

Returns ​

any

Defined in ​

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