UNPKG

apeman-react-list

Version:
44 lines (33 loc) 746 B
/** * List bar component. * @class ApListBar */ 'use strict' 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;