Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-retailer-logos

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-retailer-logos - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

src/brands.js

2

package.json
{
"name": "react-retailer-logos",
"version": "1.0.3",
"version": "1.0.4",
"description": "Sprite of retailer logos",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import React from 'react';
import brandsTileset from './brands.png';
import brands from './brands';

@@ -15,3 +16,3 @@ const Sprite = ({ image, x, y, width, height, spriteWidth, spriteHeight, style }) => {

<div style={{
backgroundImage: `url(${image})`,
backgroundImage: `url(${brands})`,
backgroundPosition: `-${xPos}px -${yPos}px`,

@@ -18,0 +19,0 @@ backgroundRepeat: 'no-repeat',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc