feat: add hideIcon and class options to List search, customize search modal input

This commit is contained in:
David Hill
2026-01-16 23:59:42 +00:00
parent f8f1f46a4f
commit 6f78a71fa7
2 changed files with 7 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ export function DialogSelectFile() {
return (
<Dialog title="Search">
<List
search={{ placeholder: "Search files and commands", autofocus: true }}
search={{ placeholder: "Search files and commands", autofocus: true, hideIcon: true, class: "px-3" }}
emptyMessage="No results found"
items={items}
key={(item) => item.id}