{
isMobileWidth &&
Search
}
setSearchQuery(e.currentTarget.value)}
onKeyDown={(e) => e.key === 'Enter' && search(searchQuery)}
type="search"
placeholder="Search Documents" />
{
focusSearchResult &&
{focusNote(focusSearchResult)}
}
{
!focusSearchResult && searchResults.length > 0 &&
{
searchResults.map((result, index) => {
return (
);
})
}
}