import SearchForm, { type SearchFormProps, } from '@components/organisms/forms/search-form'; import { FC } from 'react'; import { useIntl } from 'react-intl'; export type NoResultsProps = Pick; /** * NoResults component * * Renders a no results text with a search form. */ const NoResults: FC = ({ searchPage }) => { const intl = useIntl(); return ( <>

{intl.formatMessage({ defaultMessage: 'No results found.', description: 'NoResults: no results', id: '5O2vpy', })}

{intl.formatMessage({ defaultMessage: 'Would you like to try a new search?', description: 'NoResults: try a new search message', id: 'DVBwfu', })}

); }; export default NoResults;
The frontend of my personal website.Armand Philippot
summaryrefslogtreecommitdiffstats
blob: 6bfe61202a6682e4567f784535768ca0f686e3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32