'use client'; import { Lock } from 'lucide-react'; import { cn } from '@/lib/utils'; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '@/components/ui/tooltip'; import type { TranslationMode } from './types'; interface TranslationModeToggleProps { mode: TranslationMode; onModeChange: (mode: TranslationMode) => void; isPro: boolean; } export function TranslationModeToggle({ mode, onModeChange, isPro, }: TranslationModeToggleProps) { return (
{!isPro && (

Upgrade to Pro for LLM translation

)}
{!isPro && (

Upgrade to Pro {' '} for LLM-powered translations

)}
); }