Sha256: 8f86bb46323815a9f41d56933a76c2caa583ba6d0ef16c8b90179cbd37a83a37
Contents?: true
Size: 592 Bytes
Versions: 57
Compression:
Stored size: 592 Bytes
Contents
var ShopFilterTabs = React.createClass({ onFilterTabSelected: function(filterTab) { this.props.onFilterReplace(filterTab.filter); }, render: function() { var filterTabNodes = this.props.filterTabs.map(function(filterTab) { return ( <ShopFilterTab key={filterTab.label} filter={this.props.filter} filterTab={filterTab} onFilterTabSelected={this.onFilterTabSelected} /> ) }, this); return ( <ul className="next-tab__list"> {filterTabNodes} </ul> ) } });
Version data entries
57 entries across 57 versions & 1 rubygems