README
apeman-react-view
apeman react package for view components.
Installation
$ npm install apeman-react-view --save
Demo
Live demo is hosted on GitHub Pages.
Usage
'use strict'
import React from 'react'
import {
ApView, ApViewStyle,
ApViewHeader, ApViewBody, ApViewFooter
} from 'apeman-react-view'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApViewStyle/>
<ApView >
<ApViewHeader></ApViewHeader>
<ApViewBody></ApViewBody>
<ApViewFooter></ApViewFooter>
</ApView>
</div>
)
}
})
Components
ApViewBody
Props
Name | Type | Default | Description |
---|
ApViewFooter
Props
Name | Type | Default | Description |
---|---|---|---|
fixed | bool | false |
ApViewHeaderButton
Props
Name | Type | Default | Description |
---|---|---|---|
text | string | null | |
icon | string | null |
ApViewHeaderTitle
Props
Name | Type | Default | Description |
---|
ApViewHeader
Props
Name | Type | Default | Description |
---|
ApViewSidebar
Props
Name | Type | Default | Description |
---|---|---|---|
enabled | bool | false | |
onClose | func | ||
transitionTimeout | number | 400 |
ApViewStackStyle
Props
Name | Type | Default | Description |
---|---|---|---|
style | object | {} | |
transitionDuration | number | 400 |
ApViewStack
Props
Name | Type | Default | Description |
---|
ApViewStyle
Props
Name | Type | Default | Description |
---|
ApView
Props
Name | Type | Default | Description |
---|
License
This software is released under the MIT License.