Spaces:
Configuration error
Configuration error
Download frontend/src/components/layout/beta-badge.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/layout/beta-badge.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/layout/beta-badge.tsx
-
curl -L -o beta-badge.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/layout/beta-badge.tsx
305 Bytes
| import { useTranslation } from "react-i18next"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| export function BetaBadge() { | |
| const { t } = useTranslation(); | |
| return ( | |
| <span className="text-[11px] leading-5 text-base bg-neutral-400 px-1 rounded-xl"> | |
| {t(I18nKey.BADGE$BETA)} | |
| </span> | |
| ); | |
| } | |