import { Download, Users } from "lucide-react"; import { useTranslation } from "react-i18next"; import { Button } from "@/components/ui/button"; import type { AppId } from "@/lib/api/types"; interface ProviderEmptyStateProps { appId: AppId; onCreate?: () => void; onImport?: () => void; } export function ProviderEmptyState({ appId, onCreate, onImport, }: ProviderEmptyStateProps) { const { t } = useTranslation(); const showSnippetHint = appId === "claude" || appId === "codex" || appId === "gemini"; return (

{t("provider.noProviders")}

{t("provider.noProvidersDescription")}

{showSnippetHint && (

{t("provider.noProvidersDescriptionSnippet")}

)}
{onImport && ( )} {onCreate && ( )}
); }