How to use the @crave/farmblocks-image.badgeSizes.MEDIUM function in @crave/farmblocks-image

To help you get started, we’ve selected a few @crave/farmblocks-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CraveFood / farmblocks / packages / footer / src / components / HelperContent.js View on Github external
const HelperContent = props => {
  const renderLink = props.linkText && (props.linkHref || props.linkOnClick);

  return (
    
      {props.imageSrc && (
        <img size="{badgeSizes.MEDIUM}" src="{props.imageSrc}">
      )}

      <div>
        

        {renderLink &amp;&amp; (
          </div>
github CraveFood / farmblocks / packages / input-select / src / components / EmptyCard.js View on Github external
const EmptyCard = ({ noResultsMessage, className }) =&gt; (
  
    <img size="{badgeSizes.MEDIUM}" src="{helperSrc}">
    
  
);

@crave/farmblocks-image

A react component for thumbnail images

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis

Similar packages