Sha256: 09d791a5a78d8dc0a08e798573b84dcd5e9bab8f30635a8c3bc9033a9e42b070

Contents?: true

Size: 367 Bytes

Versions: 5

Compression:

Stored size: 367 Bytes

Contents

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