splitLeaf
splitLeaf(
root,id,direction,newLeaf):SplitNode
Defined in: react/components/layout/split-view.tsx:303
Returns a new tree where the leaf id is replaced by a split of
[originalLeaf, newLeaf] along direction (equal sizes). Unchanged if the
id isn’t found.
Parameters
Section titled “Parameters”string