Spaces:
Configuration error
Configuration error
Download frontend/src/components/features/waitlist/tos-checkbox.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 703 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/features/waitlist/tos-checkbox.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/features/waitlist/tos-checkbox.tsx
-
curl -L -o tos-checkbox.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/features/waitlist/tos-checkbox.tsx
703 Bytes
| import { useTranslation } from "react-i18next"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| interface TOSCheckboxProps { | |
| onChange: () => void; | |
| } | |
| export function TOSCheckbox({ onChange }: TOSCheckboxProps) { | |
| const { t } = useTranslation(); | |
| return ( | |
| <label className="flex items-center gap-2"> | |
| <input type="checkbox" onChange={onChange} /> | |
| <span> | |
| {t(I18nKey.TOS$ACCEPT)}{" "} | |
| <a | |
| href="https://www.all-hands.dev/tos" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| className="underline underline-offset-2 text-blue-500 hover:text-blue-700" | |
| > | |
| {t(I18nKey.TOS$TERMS)} | |
| </a> | |
| </span> | |
| </label> | |
| ); | |
| } | |