import React from 'react'; interface ExpandableProps { title: string; count?: number; defaultOpen?: boolean; children: React.ReactNode; } export function Expandable({ title, count, defaultOpen = false, children }: ExpandableProps) { return (
{title} {count !== undefined && ( ({count}) )}
{children}
); }