Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/core7s/react-design-editor
/ useIsSidebarOpen
Function
useIsSidebarOpen
src/hooks/useIsSidebarOpen.tsx:4–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import { DesignEditorContext } from
"~/contexts/DesignEditor"
3
4
const useIsSidebarOpen = () => {
5
const { isSidebarOpen } = useContext(DesignEditorContext)
6
return isSidebarOpen
7
}
8
9
export default useIsSidebarOpen
Callers
1
PanelsList
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected