How to use the @crave/farmblocks-image.badgeSizes.SMALL 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 / input-select / src / components / withImage.js View on Github external
render() {
      const { image, inputRef, ...props } = this.props;

      return (
        
          {image && (
            
          )}
          <input>
        
      );
    }
  };
github CraveFood / farmblocks / packages / hoc-validation-messages / src / withMessages.js View on Github external
{this.state.messages.map(text =&gt; (
              
                <img size="{badgeSizes.SMALL}" src="{errorIconSrc}">
                
              
            ))}

@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