This package contains various assets that can be used in Merchant Center Custom Applications.
$ npm install --save @commercetools-frontend/assets
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>
);