Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arktypeio/arktype
/ useDrawerOpen
Function
useDrawerOpen
ark/docs/components/shell/drawer.ts:19–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
export
const
useDrawerOpen = (): boolean =>
20
useSyncExternalStore(
21
subscribe,
22
() => open,
23
() => false
24
)
25
26
export
const
menuButtonId =
"drawer-toggle"
Callers
2
MenuButton
Function · 0.90
Drawer
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected