e.stopPropagation()}
>
{/* Search input row */}
setQuery(e.target.value)}
onKeyDown={onInputKey}
placeholder="Поиск страниц и функций…"
className="flex-1 bg-transparent text-sm text-foreground placeholder:text-muted-foreground outline-none"
/>
{query && (
)}
ESC
{/* Results */}
{results.length === 0 ? (
Ничего не найдено по “{query}”
) : grouped.map(([group, items]) => (
{/* Group header */}
{group}
{items.map(item => {
const idx = runningIdx++
const isActive = idx === activeIdx
return (
)
})}
))}
{/* Footer */}
↑↓ навигация
↵ открыть
Esc закрыть
Ctrl
{" + "}
K