Skip to main content

SidebarContextType

Context type for managing sidebar state

Properties​

setSidebarStatus()​

setSidebarStatus: (v) => void

Function to update the sidebar state

Parameters​

v​

SidebarStatus

Returns​

void


sidebarOpen​

sidebarOpen: boolean

Whether the sidebar is currently open


sidebarStatus​

sidebarStatus: SidebarStatus

Current state of the sidebar