Accordion
Components5.9.2
Basic usage
Don't specify
padding
andmargin
forAccordion.Item.Collapse
, this will break the animation.
Custom trigger
You can add your own styles to the trigger or change its tag
.
Selected element styles
To find out whether an element is selected or not, pass the function into the body of the element.
One section opening
value
can take both values: single and array of values. By changing it, you change the behavior of the component.