MCPcopy Create free account
hub / github.com/arktypeio/arktype / chooseScope

Function chooseScope

ark/docs/components/shell/SearchPanel.tsx:247–250  ·  view source on GitHub ↗
(next: number | undefined)

Source from the content-addressed store, hash-verified

245 : []
246
247 const chooseScope = (next: number | undefined) => {
248 setScope(next)
249 setSelected(0)
250 }
251
252 const onScopeKeyDown = (e: KeyboardEvent) => {
253 if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return

Callers 2

onScopeKeyDownFunction · 0.85
SearchPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected