'use client'; import { Layers3, Sparkles } from 'lucide-react'; import { useI18n } from '@/lib/hooks/use-i18n'; import { cn } from '@/lib/utils'; export type GenerationMode = 'normal' | 'large'; interface GenerationModeTabsProps { value: GenerationMode; onChange: (mode: GenerationMode) => void; showLarge?: boolean; } export function GenerationModeTabs({ value, onChange, showLarge = true }: GenerationModeTabsProps) { const { t } = useI18n(); if (!showLarge) return null; const tabs: Array<{ id: GenerationMode; icon: typeof Sparkles; label: string }> = [ { id: 'normal', icon: Sparkles, label: t('generation.normalMode') }, { id: 'large', icon: Layers3, label: t('generation.largeMode') }, ]; return (