• Function that will collapse all the expanded items in a given accordion

    Export

    Parameters

    • accordionId: string

      ID of the Accordion pattern.

    Returns string