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