Sha256: fac79c98dafbf0838993216616ccad52398f5dfc6445f3e73281f69be6108b83
Contents?: true
Size: 486 Bytes
Versions: 6
Compression:
Stored size: 486 Bytes
Contents
Rev.registerComponent('Row', class extends React.Component { static get propTypes() { return { collapse: React.PropTypes.bool, } } static get defaultProps() { return { collapse: false, } } get className() { return this.classAdd({ 'RevRow': true, 'row': true, 'collapse': this.props.collapse, }) } render() { return <div {...this.props} className={this.className}> {this.props.children} </div> } })
Version data entries
6 entries across 6 versions & 1 rubygems