Sha256: 9c0a29e73a7c37ad2d437768ab88b124b13b794af4136fbe46c13fcf14c1a89c

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

ICON_TYPES =
  all:  'check-square'
  some: 'check-square-o'
  none: 'square-o'

class Skr.Components.TriState extends Lanes.React.Component

    propTypes:
        type: React.PropTypes.oneOf(_.keys(ICON_TYPES)).isRequired

    render: ->
        <LC.Icon type={ICON_TYPES[@props.type]} />

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.5.0 client/skr/components/TriStateIcon.cjsx
stockor-0.4.0 client/skr/components/TriStateIcon.cjsx
stockor-0.3.0 client/skr/components/TriStateIcon.cjsx
stockor-0.2 client/skr/components/TriStateIcon.cjsx