Sha256: bd4a49818b556b6e44985a6ab1fa66c3adb79eef399e2528c03246a3c076f399
Contents?: true
Size: 407 Bytes
Versions: 30
Compression:
Stored size: 407 Bytes
Contents
cx = React.addons.classSet Rev.registerComponent 'BlockGrid', buildClassName: -> classes = "RevBlockGrid": true addNum = (propName) => prop = @props[propName] classes["#{propName}-block-grid-#{prop}"] = true if prop? addNum "small" addNum "medium" addNum "large" @classAdd classes render: -> <ul className={@buildClassName()}>{ @props.children }</ul>
Version data entries
30 entries across 30 versions & 1 rubygems