@npmcorp/pui-react-collapse
v8.5.0
Published
React components providing accordions for showing and hiding content
Downloads
18
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.