import React, { useId } from "react"; export type StatsDisclosureCardProps = { title: string; value: string; description: string; accentClass: string; icon: React.ReactNode; expanded: boolean; onToggle: () => void; children: React.ReactNode; }; /** * A summary card that reveals supporting detail. * * The whole card is deliberately a native button so the visual affordance and * keyboard affordance are identical. Detail stays outside the button, keeping * links inside the panel valid and independently focusable. */ export function StatsDisclosureCard({ title, value, description, accentClass, icon, expanded, onToggle, children, }: StatsDisclosureCardProps): React.ReactElement { const panelId = useId(); return (
); } export default StatsDisclosureCard;