Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@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.

install

npm i @npmcorp/pui-react-collapse

Downloadsweekly downloads

2

version

8.5.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability