@arcteryx/components-accordion

2.7.0 • Public • Published

@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.

Keywords

none

Install

npm i @arcteryx/components-accordion

DownloadsWeekly Downloads

132

Version

2.7.0

License

ISC

Unpacked Size

42.7 kB

Total Files

11

Last publish

Collaborators

  • ronvs
  • jamiearc
  • happyelephant