import type { ButtonHTMLAttributes, MouseEventHandler, ReactNode } from "react"; export interface ExpansionPanelHeaderProps extends ButtonHTMLAttributes { /** * The id for the header. This is required for a11y. */ id: string; /** * The icon to use for the expander icon. */ icon?: ReactNode; /** * Boolean if the panel is currently expanded. This is just used to rotate the * icon as needed. */ expanded: boolean; /** * The click handler that should attempt to toggle the expansion state of the * panel. */ onClick: MouseEventHandler; /** * The children to display within the header. * * Reminder: Since this is a `