MCPcopy Create free account
hub / github.com/adobe/react-spectrum / handleSearchBlur

Function handleSearchBlur

packages/dev/s2-docs/src/MobileSearchMenu.tsx:269–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267 };
268
269 let handleSearchBlur = () => {
270 if (searchValue === '') {
271 setSearchFocused(false);
272 }
273 };
274
275 let handleSearchChange = (value: string) => {
276 setSearchValue(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected