import { useState } from 'react'; import { Bookmark, ChevronDown } from 'lucide-react'; import { cn } from '@/lib/utils'; type TableOfContentsProps = { children: React.ReactNode; }; export function TableOfContents({ children }: TableOfContentsProps) { const [isOpen, setIsOpen] = useState(false); return (
{isOpen &&
{children}
}
); }