@npmcorp/pui-react-collapse

React components providing accordions for showing and hiding content

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
63924Jun 11, 2021May 16, 2014Minified + gzip package size for @npmcorp/pui-react-collapse in KB

Readme

pui-react-collapse

React components providing accordions for showing and hiding content

Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.

This component requires React v0.13

See the Pivotal UI Styleguide for fully rendered examples.

Components

BaseCollapse

An unstyled accordion for showing and hiding content

var BaseCollapse = require('

#### Properties

- `header`
  - `Element`: HTML to use as the accordion toggle

- `divider`
  - `Boolean`: Adds a line between the accordion header and accordion body


### Collapse

An accordion with an arrow icon in the toggle

```js
var Collapse = require('

#### Properties

- `header`
  - `Element`: HTML to use as the accordion toggle

- `divider`
  - `Boolean`: Adds a line between the accordion header and accordion body


### AltCollapse

An accordion with a plus/minus icon in the toggle

```js
var AltCollapse = require('

#### Properties

- `header`
  - `Element`: HTML to use as the accordion toggle

- `divider`
  - `Boolean`: Adds a line between the accordion header and accordion body


*****************************************

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.