mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
30 lines
595 B
TypeScript
30 lines
595 B
TypeScript
import styled from '@emotion/styled';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { FcGoogle } from 'react-icons/fc';
|
|
|
|
const NoSearchResultStyle = styled.i({
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
gap: '0.25em',
|
|
|
|
'& > span': {
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
},
|
|
});
|
|
|
|
export default function NoSearchResult() {
|
|
const { t } = useTranslation('common');
|
|
return (
|
|
<NoSearchResultStyle>
|
|
{t('search-with')}
|
|
{''}
|
|
<span>
|
|
<FcGoogle size={20} />
|
|
oogle
|
|
</span>
|
|
</NoSearchResultStyle>
|
|
);
|
|
}
|