Download src/components/features/automations/empty-state.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 848 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/automations/empty-state.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/components/features/automations/empty-state.tsx
-
curl -L -o empty-state.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/automations/empty-state.tsx
848 Bytes
| import { useTranslation } from "react-i18next"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| import { extensionModuleEmptyStateClassName } from "#/utils/extension-module-card-classes"; | |
| import { CreateInstructions } from "./create-instructions"; | |
| import { RecommendedAutomationsLauncher } from "./recommended-automations-launcher"; | |
| export function EmptyState() { | |
| const { t } = useTranslation("openhands"); | |
| return ( | |
| <div | |
| data-testid="automations-empty" | |
| className={extensionModuleEmptyStateClassName} | |
| > | |
| <p className="text-sm text-white">{t(I18nKey.AUTOMATIONS$EMPTY)}</p> | |
| <div className="mt-4 flex justify-center"> | |
| <CreateInstructions /> | |
| </div> | |
| <div className="mt-8 w-full text-left"> | |
| <RecommendedAutomationsLauncher className="pb-0" variant="rail" /> | |
| </div> | |
| </div> | |
| ); | |
| } | |