@commercetools-frontend/assets
TypeScript icon, indicating that this package has built-in type declarations

22.27.0 • Public • Published

@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>
);

Package Sidebar

Install

npm i @commercetools-frontend/assets

Weekly Downloads

9,813

Version

22.27.0

License

MIT

Unpacked Size

296 kB

Total Files

84

Last publish

Collaborators

  • tdeekens
  • emmenko
  • commercetools-admin