@npmcorp/pui-react-collapse

8.5.0 • Public • Published

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.

Package Sidebar

Install

npm i @npmcorp/pui-react-collapse

Weekly Downloads

0

Version

8.5.0

License

MIT

Last publish

Collaborators

  • dipeshpatel01
  • kartykp
  • jithinpg
  • reggi
  • karenjli
  • tayvongh
  • navin22
  • lukekarrys-gh
  • dhei
  • tiagonbotelho
  • hashtagchris
  • nishantms
  • feelepxyz.github
  • monishcm
  • jumoel
  • trevrosen
  • fritzy
  • npm
  • npmci
  • saquibkhan
  • gar
  • mylesborins