Download src/components/features/browser/browser-snapshot.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/browser/browser-snapshot.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/components/features/browser/browser-snapshot.tsx
-
curl -L -o browser-snapshot.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/browser/browser-snapshot.tsx
391 Bytes
| import { useTranslation } from "react-i18next"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| interface BrowserSnaphsotProps { | |
| src: string; | |
| } | |
| export function BrowserSnapshot({ src }: BrowserSnaphsotProps) { | |
| const { t } = useTranslation("openhands"); | |
| return ( | |
| <img | |
| src={src} | |
| className="block w-full h-auto" | |
| alt={t(I18nKey.BROWSER$SCREENSHOT_ALT)} | |
| /> | |
| ); | |
| } | |