Sha256: fb40e1e449da06a47bd071a21718925f5a2c30116b6fef0b6b125d2726bcbf91

Contents?: true

Size: 335 Bytes

Versions: 5

Compression:

Stored size: 335 Bytes

Contents

function FilterbarFacet(props) {
  const className = classNames(
    'o-filterbar__item',
    'o-filterbar__item--rectangle-big',
    'o-filterbar__item--facet',
    {'o-filterbar__item--deselected': !props.selected}
  );

  return (
    <div className={className} onClick={props.onClick}><span>{props.displayName}</span></div>
  );
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx
lcms-engine-0.1.3 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx
lcms-engine-0.2.0 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx
lcms-engine-0.1.2 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx
lcms-engine-0.1.0 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx