x
1
2
3
4
5
6
7
8
9
10
<div class='gl-accordion-item'>
<h3 class='gl-accordion-item-header'>
<button aria-controls="accordion-item" aria-expanded="true" type="button" class="gl-button btn btn-md btn-link "><svg class="s16 gl-icon gl-button-icon js-chevron-icon" data-testid="chevron-down-icon"><use href="/assets/icons-be8ca3b37e0f9a5adb0ee8b20a3ae0e568a9b5ac85539f8eaa965b6f7b4b38a1.svg#chevron-down"></use></svg>
<span class='gl-button-text'>
Accordion title (open)
</span>
</button></h3>
<div class='accordion-item gl-mt-3 gl-text-base collapse show'>
</div>
</div>
1
2
3
4
5
", state: :opened)
render(Pajamas::AccordionItemComponent.new(
title: title,
state: state
))
Param Description Input