Skip to content

vtex-components/accordion

Repository files navigation

@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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •