event.stopPropagation()}
>
setQuery(event.target.value)}
onKeyDown={event => {
if (event.key === "Enter" && matches[0]) {
navigate({ to: matches[0].path });
setPaletteOpen(false);
}
}}
placeholder="Search converters (e.g. svg to jsx, json to typescript)..."
aria-label="Search converters"
/>
ESC
{query ? "Results" : "Featured transformers"}
{matches.slice(0, 12).map(route => (
))}
{matches.length === 0 && (
No matching converters
)}
Press ↵ to open the first result
{routes.length} developer tools