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

0.2.4 • Public • Published

@vtex-components/accordion

Made with create-react-library

NPM JavaScript Style Guide

Install

yarn add @vtex-components/accordion

Usage

import React, { Component } from 'react'

import Accordion from '@vtex-components/accordion'

const Example = () => (
  <Accordion>
    <Accordion.Section header="Section one">
      This is the content of section one
    </Accordion.Section>
    <Accordion.Section header="Section two">
      This is the content of section two
    </Accordion.Section>
  </Accordion>
)

License

MIT © vitoriaheliane

Readme

Keywords

none

Package Sidebar

Install

npm i @vtex-components/accordion

Weekly Downloads

180

Version

0.2.4

License

MIT

Unpacked Size

36.2 kB

Total Files

15

Last publish

Collaborators

  • emersonlaurentino
  • lucasaarcoverde
  • matheusps