apeman-react-accordion
apeman react package for accordion components.
Installation
$ npm install apeman-react-accordion --save
Demo
Live demo is hosted on GitHub Pages.
Usage
'use strict' import React from 'react'import ApAccordion ApAccordionHeader ApAccordionBody ApAccordionStylefrom 'apeman-react-accordion' const ExampleComponent = React
Components
ApAccordionArrow
Props
Name | Type | Default | Description |
---|---|---|---|
icon | string | 'fa fa-chevron-down' |
ApAccordionBody
Props
Name | Type | Default | Description |
---|
ApAccordionHeader
Props
Name | Type | Default | Description |
---|---|---|---|
onToggle | func | null | |
busyDuration | number | 500 |
ApAccordionStyle
Props
Name | Type | Default | Description |
---|
ApAccordion
Props
Name | Type | Default | Description |
---|---|---|---|
open | bool |
License
This software is released under the MIT License.