3.0.3 • Published 9 years ago
apeman-react-menu v3.0.3
apeman-react-menu
apeman react package for menu components
Installation
$ npm install apeman-react-menu --saveDemo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import React from 'react'
import {ApMenu, ApMenuItem, ApMenuStyle} from 'apeman-react-menu'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApMenuStyle/>
<ApMenu>
<ApMenuItem icon="fa fa-support" text="Help"/>
<ApMenuItem icon="fa fa-info-circle" text="About"/>
<ApMenuItem icon="fa fa-sign-out" text="Logout"/>
<ApMenuItem icon="fa fa-sun-o" text="Foo"/>
<ApMenuItem icon="fa fa-sun-o" text="Bar"/>
<ApMenuItem icon="fa fa-sun-o" text="Baz"/>
</ApMenu>
</div>
)
}
})Components
ApMenuItem
Props
| Name | Type | Default | Description | |
|---|---|---|---|---|
| hidden | bool | false |
ApMenuStyle
Props
| Name | Type | Default | Description | |
|---|---|---|---|---|
| style | object | {} | ||
| highlightColor | string | ApStyle.DEFAULT_HIGHLIGHT_COLOR | ||
| backgroundColor | ApStyle.DEFAULT_BACKGROUND_COLOR |
ApMenu
Props
| Name | Type | Default | Description |
|---|
License
This software is released under the MIT License.
Links
3.0.3
9 years ago
3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
2.0.8
9 years ago
2.0.7
9 years ago
2.0.5
9 years ago
2.0.4
9 years ago
2.0.3
9 years ago
2.0.2
9 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.2.5
10 years ago
1.2.4
10 years ago
1.2.3
10 years ago
1.2.2
10 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago
1.0.0
10 years ago
