Manta Developers
GitHub
Menu

@manta-eu/react/hooks/plan-split-sidebar-sync

Reference for @manta-eu/react/hooks/plan-split-sidebar-sync as it is on main.

Type Aliases

SidebarSyncDecision

SidebarSyncDecision = object

Properties

nextSidebarOpen

nextSidebarOpen: boolean | undefined

previousSidebarOpen

previousSidebarOpen: boolean | null


SidebarSyncInput

SidebarSyncInput = object

Properties

previousSidebarOpen

previousSidebarOpen: boolean | null

showSplit

showSplit: boolean

sidebarOpen

sidebarOpen: boolean

wasShowingSplit

wasShowingSplit: boolean

Functions

computePlanSplitSidebarSync()

computePlanSplitSidebarSync(input): SidebarSyncDecision

Parameters

input

SidebarSyncInput

Returns

SidebarSyncDecision