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

Version Path
revelry_core-0.1.12.6 app/assets/javascripts/revelry/ui/grid/Row.es6
revelry_core-0.1.12.5 app/assets/javascripts/revelry/ui/grid/Row.es6
revelry_core-0.1.12.4 app/assets/javascripts/revelry/ui/grid/Row.es6
revelry_core-0.1.12.3 app/assets/javascripts/revelry/ui/grid/Row.es6
revelry_core-0.1.12.2 app/assets/javascripts/revelry/ui/grid/Row.es6
revelry_core-0.1.12.0 app/assets/javascripts/revelry/ui/grid/Row.es6