Spaces:
Configuration error
Configuration error
Download frontend/src/components/shared/buttons/docs-button.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/docs-button.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/shared/buttons/docs-button.tsx
-
curl -L -o docs-button.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/buttons/docs-button.tsx
515 Bytes
| import { useTranslation } from "react-i18next"; | |
| import DocsIcon from "#/icons/academy.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} className="text-[#9099AC]" /> | |
| </TooltipButton> | |
| ); | |
| } | |