Nothing Prevents Misery

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

    21.12.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 Hourglass from '@commercetools-frontend/assets/images/hourglass.svg';
    
    const Component = () => (
      <div>
        <img src={Hourglass} />
      </div>
    );

    Install

    npm i @commercetools-frontend/assets

    DownloadsWeekly Downloads

    3,807

    Version

    21.12.0

    License

    MIT

    Unpacked Size

    531 kB

    Total Files

    74

    Last publish

    Collaborators

    • tdeekens
    • emmenko
    • commercetools-admin