import { ChevronDown, ChevronUp } from 'lucide-react'; import { ReactNode } from 'react'; import { Box } from './Box'; import { Icon } from './Icon'; import { Stack } from './Stack'; import { Text } from './Text'; interface AccordionProps { title: string; icon: ReactNode; children: ReactNode; isOpen: boolean; onToggle: () => void; } export function Accordion({ title, icon, children, isOpen, onToggle }: AccordionProps) { return ( {icon} {title} {isOpen && ( {children} )} ); }