accordion 4.6.0
Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/accordion@4.6.0
Install via package.json:
"@dusk-network/accordion": "4.6.0"
About this version
npm i -D @dusk-network/accordion
<script>
import Accordion, { Item } from "@dusk-network/accordion";
</script>
<Accordion>
<Item title="First Item">First item content...</Item>
<Item title="Second Item">Second item content...</Item>
<Item title="Third Item">Third item content...</Item>
<Item title="Fourth Item">Fourth item content...</Item>
</Accordion>