import { BarChart3, Check, Copy, Edit, Loader2, Play, TestTube2, Trash2, } from "lucide-react"; import { useTranslation } from "react-i18next"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; interface ProviderActionsProps { isCurrent: boolean; isTesting?: boolean; onSwitch: () => void; onEdit: () => void; onDuplicate: () => void; onTest?: () => void; onConfigureUsage: () => void; onDelete: () => void; } export function ProviderActions({ isCurrent, isTesting, onSwitch, onEdit, onDuplicate, onTest, onConfigureUsage, onDelete, }: ProviderActionsProps) { const { t } = useTranslation(); const iconButtonClass = "h-8 w-8 p-1"; return (
{onTest && ( )}
); }