apeman-react-list
Version:
apeman react package for list component.
44 lines (33 loc) • 746 B
JSX
/**
* List bar component.
* @class ApListBar
*/
import React, {PropTypes as types} from 'react'
import classnames from 'classnames'
/** @lends ApListBar */
const ApListBar = React.createClass({
// --------------------
// Specs
// --------------------
render () {
const s = this
let { state, props } = s
return (
<div className={ classnames('ap-list-bar', props.className) }
style={ Object.assign({}, props.style) }>
{ props.children }
</div>
)
}
// --------------------
// Lifecycle
// --------------------
// ------------------
// Custom
// ------------------
// ------------------
// Private
// ------------------
})
export default ApListBar;