diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index 9f21e50..f3d435c 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -15,6 +15,12 @@ export function SearchBar({ onSearch, onFocus, value }: Props) { const configs = useConfigs() const { searchMode } = configs.value + const toggleButtonDescription = `${ + searchMode === 'regex' + ? 'Match file name with regular expression.' + : 'Match file path sequence with input.' + } Click to toggle.` + return (