Sha256: 665970047867c4aaf858f53f28d582861407aa6c934ed947a37792d46d2b6718
Contents?: true
Size: 517 Bytes
Versions: 38
Compression:
Stored size: 517 Bytes
Contents
Rev.registerComponent 'IconBarItem', render: -> classes = "item": true "RevIconBarItem": true <a {...@props} className={@classAdd classes}> {@renderIcon()} <label className="RevIconBarItem-label">{@props.children}</label> </a> renderIcon: -> className = "RevIconBarItem-icon" if type = @props.fontIcon? <Rev.Components.FontIcon type={type} className={className} /> else if src = @props.src? <img src={src} className={className} /> else null
Version data entries
38 entries across 38 versions & 1 rubygems