'use client';
import { useExplainMode } from '@/contexts/ExplainModeContext';
interface ExplainModeToggleProps {
variant?: 'compact' | 'full';
}
function EyeIcon({ open }: { open: boolean }) {
if (open) {
return (
);
}
return (
);
}
export default function ExplainModeToggle({ variant = 'compact' }: ExplainModeToggleProps) {
const { explainMode, toggleExplainMode } = useExplainMode();
if (variant === 'full') {
return (
);
}
return (
);
}