import { useTranslation } from 'react-i18next'; import { LayoutList, Table2 } from 'lucide-react'; import type { ExploreViewMode } from '@/lib/exploreView'; import { cn } from '@/lib/utils'; import { Button } from '@/components/ui/button'; interface ExploreViewToggleProps { value: ExploreViewMode; onChange: (mode: ExploreViewMode) => void; className?: string; } export function ExploreViewToggle({ value, onChange, className }: ExploreViewToggleProps) { const { t } = useTranslation(); return (