@alexcasche/react-accordion

0.0.2 • Public • Published

react-accordion

NPM JavaScript Style Guide

Install

npm install --save @alexcasche/react-accordion
yarn add @alexcasche/react-accordion

Usage

import React, { Component } from 'react'

import { Accordion, Item } from '@alexcasche/react-accordion'

class Example extends Component {
  render () {
    return (
      <Accordion>
        <Item>
          ...
        </Item>
        <Item>
          ...
        </Item>
      </Accordion>
    )
  }
}

License

MIT © alexcasche

Package Sidebar

Install

npm i @alexcasche/react-accordion

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

19.7 kB

Total Files

6

Last publish

Collaborators

  • alexcasche