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

Function handleSelect

packages/ui/src/components/list.tsx:68–70  ·  view source on GitHub ↗
(item: T | undefined, index: number)

Source from the content-addressed store, hash-verified

66 })
67
68 const handleSelect = (item: T | undefined, index: number) => {
69 props.onSelect?.(item, index)
70 }
71
72 const handleKey = (e: KeyboardEvent) => {
73 setStore("mouseActive", false)

Callers 2

handleKeyFunction · 0.70
ListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected