Access the sidebar collapsed/expanded state.
Returns null when called outside a SidebarProvider — components that render both inside and outside can treat a null return as "uncontrolled" and fall back to their own default.
null
Access the sidebar collapsed/expanded state.
Returns
nullwhen called outside a SidebarProvider — components that render both inside and outside can treat a null return as "uncontrolled" and fall back to their own default.