MCPcopy
hub / github.com/github/docs / NoSearchResults

Function NoSearchResults

components/search/SearchResults.tsx:59–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function NoSearchResults() {
60 const { t } = useTranslation('search')
61 return (
62 <div className="d-flex flex-items-center flex-column my-6 border rounded-2">
63 <div className="d-flex flex-items-center flex-column p-4">
64 <SearchIcon size={24} />
65 <Text className="f2 mt-3">{t('n_results').replace('{n}', 0)}</Text>
66 </div>
67 </div>
68 )
69}
70
71function SearchResultHit({
72 hit,

Callers

nothing calls this directly

Calls 1

useTranslationFunction · 0.90

Tested by

no test coverage detected