# @rdey/collapse-button

> A button indicating a collapse of e.g. an accordion

Latest version **1.0.1** (published 2019-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rdey/collapse-button
pnpm add @rdey/collapse-button
yarn add @rdey/collapse-button
bun add @rdey/collapse-button
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-03-26 |
| First published | 2019-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 45.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ricsam |
| Maintainers | rdey |

## Links

- npm: https://www.npmjs.com/package/@rdey/collapse-button
- Repository: https://github.com/rdey/rdey-packages
- Homepage: https://github.com/rdey/rdey-packages#readme
- Issues: https://github.com/rdey/rdey-packages/issues
- npm.io page: https://npm.io/package/@rdey/collapse-button

## Recent versions

- 1.0.1 (latest) — 2019-03-26
- 1.0.0 — 2019-03-26

## README

# collapse-button

> A button indicating a collapse of e.g. an accordion

[![NPM](https://img.shields.io/npm/v/collapse-button.svg)](https://www.npmjs.com/package/collapse-button) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save collapse-button
```

## Usage

```tsx
import * as React from 'react'

import CollapseButton from 'collapse-button'

class Example extends React.Component {
  render () {
    return (
      <>
        <CollapseButton active={active} />
        <CollapseButton
          active={active}
          size={320}
          borderWidth={6}
          colorRight="red"
        />
      </>
    )
  }
}
```

## License

MIT © [ricsam](https://github.com/ricsam)

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