import clsx from 'clsx' import { useState } from 'react' export function AdvancedPanel(props: { children: any }) { const { children } = props const [collapsed, setCollapsed] = useState(true) return (
setCollapsed((collapsed) => !collapsed)} className="cursor-pointer" >
Advanced
{children}
) }