* initial implementation of search modal * added hit and search suggestions * added support for multiple indices * updated sample env * added close when click outside dropdown * test for mobile * added mobile design * added shortcut * dark mode fixes * added search to docs * added plugins filter * added React import * moved filters to configurations * handled error on page load * change suggestion text * removed hits limit * handle select all * open link in current tab * change highlight colors * added support for shortcuts + auto focus * change header and footer * redesigned search ui
15 lines
528 B
TypeScript
15 lines
528 B
TypeScript
import IconExclamationCircleSolid from "../../Icons/ExclamationCircleSolid"
|
|
|
|
const SearchNoResult = () => {
|
|
return (
|
|
<div className="flex h-full w-full flex-col items-center justify-center gap-1">
|
|
<IconExclamationCircleSolid iconColorClassName="fill-medusa-fg-muted dark:fill-medusa-fg-muted-dark" />
|
|
<span className="text-compact-small text-medusa-fg-muted dark:text-medusa-fg-muted-dark">
|
|
No results found. Try changing selected filters.
|
|
</span>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SearchNoResult
|