Sha256: 609c81813e70523a87c7d59cc32d157efcad53abf556ddb17b55be2b4369a963

Contents?: true

Size: 549 Bytes

Versions: 12

Compression:

Stored size: 549 Bytes

Contents

Rev.registerComponent('TabBlock', class TabBlock extends React.Component {

  static get propTypes() {
    return {
      active: React.PropTypes.bool,
    }
  }

  static get defaultProps() {
    return {
      active: false,
    }
  }

  get className() {
    return this.classAdd({
      'RevTabBlock': true,
      'RevTabBlock--active': this.props.active,
      'content': true,
      'active': this.props.active,
    })
  }

  render() {
    return <div {...this.props}
      className={this.className}
      key={this.props.key}
    />
  }
})

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
revelry_core-0.1.24.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.23.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.22.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.21.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.20.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.19.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.18.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.17.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.16.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.15.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.14.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6
revelry_core-0.1.13.0 app/assets/javascripts/revelry/ui/tabs/TabBlock.es6