Skip to main content

collapsible_header

Function collapsible_header 

Source
pub fn collapsible_header<'a>(
    expanded: bool,
    label: &'a str,
    count: usize,
    on_toggle: Message,
    muted: Color,
) -> Element<'a, Message>
Expand description

A collapsible section header with a chevron, label, count, and toggle message. Used for “Local (N)” / “Remote (N)” in the branches sidebar.