Sha256: bf6a7225d8c49affb44f86416d0704536e70d96fddfe8df57b5bd6c91c30c8fe

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

function FilterbarGrade(props, context) {
  const className = classNames(
    'o-filterbar__item',
    'o-filterbar__item--square',
    `o-filterbar__item--${props.colorCode}`,
    {'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/FilterbarGrade.js.jsx
lcms-engine-0.1.3 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarGrade.js.jsx
lcms-engine-0.2.0 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarGrade.js.jsx
lcms-engine-0.1.2 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarGrade.js.jsx
lcms-engine-0.1.0 app/assets/javascripts/lcms/engine/components/filterbar/FilterbarGrade.js.jsx