Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@commercetools-frontend/assets

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

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.

Usage

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

Install

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