@arcteryx/components-accordion
TypeScript icon, indicating that this package has built-in type declarations

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @arcteryx/components-accordion

    Weekly Downloads

    350

    Version

    5.0.0

    License

    ISC

    Unpacked Size

    81.6 kB

    Total Files

    37

    Last publish

    Collaborators

    • justinohalloran
    • ronvs
    • jamiearc