Add repo fuzzy finder to home screen

This commit is contained in:
Rūdolfs Ošiņš
2025-03-28 09:03:17 +01:00
parent 5c5685d560
commit 8a3e480b3c
6 changed files with 104 additions and 13 deletions
+3
View File
@@ -16,6 +16,7 @@
onDismiss?: () => void;
valid?: boolean;
oninput?: FormEventHandler<HTMLInputElement>;
keyShortcuts?: string;
}
/* eslint-disable prefer-const */
@@ -31,6 +32,7 @@
onDismiss,
valid = true,
oninput,
keyShortcuts,
}: Props = $props();
/* eslint-enable prefer-const */
@@ -93,6 +95,7 @@
variant={valid ? (focussed ? "secondary" : "ghost") : "danger"}
styleWidth="100%">
<input
aria-keyshortcuts={keyShortcuts}
onfocus={() => {
focussed = true;
}}