source: src/components/search-not-found/search-not-found.tsx@ 5d6f37a

main
Last change on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago

add customer

  • Property mode set to 100644
File size: 858 bytes
Line 
1import Typography from '@mui/material/Typography';
2import Paper, { PaperProps } from '@mui/material/Paper';
3
4// ----------------------------------------------------------------------
5
6interface Props extends PaperProps {
7 query?: string;
8}
9
10export default function SearchNotFound({ query, sx, ...other }: Props) {
11 return query ? (
12 <Paper
13 sx={{
14 bgcolor: 'unset',
15 textAlign: 'center',
16 ...sx,
17 }}
18 {...other}
19 >
20 <Typography variant="h6" gutterBottom>
21 Not Found
22 </Typography>
23
24 <Typography variant="body2">
25 No results found for &nbsp;
26 <strong>&quot;{query}&quot;</strong>.
27 <br /> Try checking for typos or using complete words.
28 </Typography>
29 </Paper>
30 ) : (
31 <Typography variant="body2" sx={sx}>
32 Please enter keywords
33 </Typography>
34 );
35}
Note: See TracBrowser for help on using the repository browser.