(e: React.KeyboardEvent)
| 152 | }; |
| 153 | |
| 154 | const handleKeyDown = (e: React.KeyboardEvent) => { |
| 155 | if (e.key === "Enter") { |
| 156 | e.shiftKey ? goPrev() : goNext(); |
| 157 | } |
| 158 | if (e.key === "Escape") { |
| 159 | clearHighlights(); |
| 160 | onClose(); |
| 161 | } |
| 162 | }; |
| 163 | |
| 164 | return ( |
| 165 | <div className="flex items-center gap-1 px-2 py-1.5 border-b border-surface-800 bg-surface-900/90 backdrop-blur-sm"> |
nothing calls this directly
no test coverage detected