Socket
Socket
Sign inDemoInstall

@commercetools-frontend/assets

Package Overview
Dependencies
0
Maintainers
3
Versions
887
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @commercetools-frontend/assets

Assets for building mc apps


Version published
Weekly downloads
9.4K
increased by4.95%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@commercetools-frontend/assets

Latest release (latest dist-tag) Latest release (next dist-tag) Minified + GZipped size GitHub license

This package contains various assets that can be used in Merchant Center Custom Applications.

Install

$ npm install --save @commercetools-frontend/assets

Using SVG images

The images folder contains SVG images to be imported and used as <img src> URLs.

import React from 'react';
// Import requires a bundler to deal with SVG files
import HourglassIllustration from '@commercetools-frontend/assets/images/hourglass.svg';

const Component = () => (
  <div>
    <img src={HourglassIllustration} />
  </div>
);

Keywords

FAQs

Last updated on 17 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc