# @starnavi/react-accordion

> Customizable and simple accordion

Latest version **0.0.1** (published 2018-09-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install @starnavi/react-accordion
pnpm add @starnavi/react-accordion
yarn add @starnavi/react-accordion
bun add @starnavi/react-accordion
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-09-19 |
| First published | 2018-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 331.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | b.taranenko, temich1608, vladmakhlay |
| Keywords | react, react-accordion, accordion |

## Links

- npm: https://www.npmjs.com/package/@starnavi/react-accordion
- Repository: https://github.com/starnavi-team/react-accordion
- Homepage: https://github.com/starnavi-team/react-accordion#readme
- Issues: https://github.com/starnavi-team/react-accordion/issues
- npm.io page: https://npm.io/package/@starnavi/react-accordion

## Dependencies (2)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [styled-components](https://npm.io/package/styled-components.md) ^3.4.6

## Recent versions

- 0.0.1 (latest) — 2018-09-19

## README

## react-accordion

**Customizable and simple accordion**

#### Installation

`npm install @starnavi/react-accordion`

or

`yarn add @starnavi/react-accordion`

##

#### Usage sample
   
   
   ```js
    import { Accordion, AccordionGroup, AccordionGroupTitle, AccordionGroupBody } from '@starnavi/react-accordion'

    export default () => (
        <Accordion>
            <AccordionGroup>
                <AccordionGroupTitle>
                    Title to click on
                </AccordionGroupTitle>
                <AccordionGroupBody>
                    Body part, you can put here any element you want
                </AccordionGroupBody>
            </AccordionGroup>
        </Accordion>
    );
```
### Styling

**_react-accordion_** does not have any styles by default, you are free to pass to 
it's components your custom styles or/and classNames 
 
##

### Components:

### **&lt;Accordion /&gt;**

#### Additional props:

**_style_**:`object`

**_className_**: `string`

Pass your custom **_style_** and/or **_className_** to style rendered `<div />` of Accordion

##

### **&lt;AccordionGroup /&gt;**

#### Additional props:

**_style_**:`object`

**_className_**: `string`

Pass your custom **_style_** and/or **_className_** to style rendered `<div />` of AccordionGroup

##

### **&lt;AccordionGroupTitle /&gt;**

#### Additional props:

**_style_**:`object`

**_className_**: `string`

Pass your custom **_style_** and/or **_className_** to style rendered `<div />` of AccordionGroupTitle

##

### **&lt;AccordionGroupBody /&gt;**

#### Additional props:

**_style_**:`object`

**_className_**: `string`

Pass your custom **_style_** and/or **_className_** to style rendered `<div />` of AccordionGroupBody

---
_Source: https://npm.io/package/@starnavi/react-accordion · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
