import React, { memo, FC } from "react"; import "./index.module.scss"; import Broadcast from "@/components/svgIcon"; import { languageType } from "@/interface"; import { defaultTheme, defaultLanguage } from "@/core/config"; import { il8n } from "@/language"; 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;