File size: 441 Bytes
b59aa07
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { useTranslation } from "react-i18next";
import { I18nKey } from "#/i18n/declaration";

interface BrowserSnaphsotProps {
  src: string;
}

export function BrowserSnapshot({ src }: BrowserSnaphsotProps) {
  const { t } = useTranslation();

  return (
    <img
      src={src}
      style={{ objectFit: "contain", width: "100%", height: "auto" }}
      className="rounded-xl"
      alt={t(I18nKey.BROWSER$SCREENSHOT_ALT)}
    />
  );
}