MCPcopy Create free account
hub / github.com/arctic-cli/interface / handleSelect

Function handleSelect

packages/ui/src/components/select-dialog.tsx:32–35  ·  view source on GitHub ↗
(item: T | undefined, index: number)

Source from the content-addressed store, hash-verified

30 })
31
32 const handleSelect = (item: T | undefined, index: number) => {
33 others.onSelect?.(item, index)
34 closeButton.click()
35 }
36
37 const handleKey = (e: KeyboardEvent) => {
38 if (e.key === "Escape") return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected