Sha256: 62e5f0fff89e1a40c8bb4742c33b012ba82f28e424237817ff3a4b256ca71b95

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

function SearchDropdownResult(props) {
  const classes = classNames({
    'o-search-dropdown-result': true,
    'o-search-dropdown-result__selected': props.selected
  });

  return (
    <a className={classes} href={props.resource.path}>
      <strong>{props.resource.type_name}:</strong> {props.resource.title}
    </a>
  );
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx
lcms-engine-0.1.3 app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx
lcms-engine-0.2.0 app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx
lcms-engine-0.1.2 app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx
lcms-engine-0.1.0 app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx