apeman-react-dropdown
v3.0.9
Published
apeman react package for dropdown components
Maintainers
Readme
apeman-react-dropdown
apeman react package for dropdown components
Installation
$ npm install apeman-react-dropdown --saveDemo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import React from 'react'
import {ApDropdown, ApDropdownStyle} from 'apeman-react-dropdown'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApDropdownStyle/>
<ApDropdown/>
</div>
)
}
})
Components
ApDropdownItem
Props
| Name | Type | Default | Description | | ---- | ---- | ------- | ----------- |
ApDropdownStyle
Props
| Name | Type | Default | Description | | ---- | ---- | ------- | ----------- |
ApDropdown
Props
| Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | | openIcon | string | 'ion ion-chevron-up' | | Icon class name for open state | | closedIcon | string | 'ion ion-chevron-down' | | Icon class name for closed state | | open | bool | | | Open or not | | onTap | func | | | Handler for tap event | | title | node | | | Dropdown title |
License
This software is released under the MIT License.
