@arcteryx/components-accordion
Mainly used on PDP but this chap can be used to show/hide any kind of content.Install
npm install --save @arcteryx/components-accordion
Usage
import {Accordion} from "@arcteryx/components-accordion";
<Accordion title="My sweet, sweet accordion" headingLevel="2">
<p>Peek a boo</p>
</Accordion>
A title attribute is required, whereas headingLevel is not. The default headingLevel is h3.