(item: T | undefined, index: number)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected