useControlledTreeLayoutStorage Function

Returns callbacks for persisting and restoring ControlledTree layout state. Returned ref should be set on container containing ControlledTree.

useControlledTreeLayoutStorage<T extends Element>(): { persist: () => void, ref: React.Ref<T>, restore: () => void }

Returns - { persist: () => void, ref: React.Ref<T>, restore: () => void }

Defined in

Last Updated: 17 December, 2024