{{ attach_library('ui_patterns/libraries.bs_accordion') }}
{{ attach_library('ui_patterns/bs-accordion.accordion') }}

{#
/**
 * @file
 * accordion
 *
 * See accordion.wingsuit.yaml for documentation.
 */
#}
{% set wrapper_attributes = wrapper_attributes|default(create_attribute()) %}
{% set wrapper_attributes = wrapper_attributes
  .setAttribute("id", "ac-#{ pid }")
%}
{# TEMPLATE #}
<div {{ wrapper_attributes }} class='{{ wrapper_class }} accordion'>
  {{ children }}
</div>
