Download frontend/src/components/shared/buttons/docs-button.tsx from ar08/zzz: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/spaces/ar08/zzz/resolve/main/frontend/src/components/shared/buttons/docs-button.tsx
- Command line
-
hf download hf://spaces/ar08/zzz/frontend/src/components/shared/buttons/docs-button.tsx
-
curl -L -o docs-button.tsx https://huggingface.co/spaces/ar08/zzz/resolve/main/frontend/src/components/shared/buttons/docs-button.tsx
502 Bytes
| import { useTranslation } from "react-i18next"; | |
| import DocsIcon from "#/icons/docs.svg?react"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| import { TooltipButton } from "./tooltip-button"; | |
| export function DocsButton() { | |
| const { t } = useTranslation(); | |
| return ( | |
| <TooltipButton | |
| tooltip={t(I18nKey.SIDEBAR$DOCS)} | |
| ariaLabel={t(I18nKey.SIDEBAR$DOCS)} | |
| href="https://docs.all-hands.dev" | |
| > | |
| <DocsIcon width={28} height={28} /> | |
| </TooltipButton> | |
| ); | |
| } | |