'use client'; import { useState } from 'react'; import { Network, Type, Layers, ChevronDown } from 'lucide-react'; import { cn } from '@/lib/utils'; import ReactMarkdown from 'react-markdown'; interface SourceToggleProps { method: string; entityCount: number; chunkCount: number; context?: string; } export function SourceToggle({ method, entityCount, chunkCount, context }: SourceToggleProps) { const [open, setOpen] = useState(false); return (