import React, { memo, FC } from 'react'; import './index.module.scss'; import Broadcast from '@/components/svgIcon'; import { defaultTheme, defaultLanguage } from '@/core/config'; import { il8n } from '@/language'; import { languageType } from 'types'; const Index: FC<{ setIsscreenshot: Function; screenshotLoading: boolean; theme: string | undefined; language: languageType | undefined; }> = memo(function Index({ setIsscreenshot, screenshotLoading, theme, language }) { return (
setIsscreenshot(false)}>

{il8n( language || defaultLanguage, screenshotLoading ? 'screenshotsFailText' : 'screenshotsSucessText', )}

); }); export default Index;