This package contains image assets that can be used in the creation of Merchant Center applications. These are used within the package application-shell
. The images can be used directly, from the images
folder.
import React from 'react';
// Import requires a bundler to deal with SVG files
import Hourglass from '@commercetools-frontend/assets/images/hourglass.svg';
const Component = () => (
<div>
<img src={Hourglass} />
</div>
);
$ npm install --save @commercetools-frontend/assets