Sha256: ad522015ab3a3beab9cb2f67c177c38c934a6fab79da6d6b85fd4a792493a467
Contents?: true
Size: 424 Bytes
Versions: 6
Compression:
Stored size: 424 Bytes
Contents
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: -> console.warn('BlockGrid is deprecated.') <ul className={@buildClassName()}>{ @props.children }</ul>
Version data entries
6 entries across 6 versions & 1 rubygems