@gfsdeliver/gfs-carrier-icon

2.0.0-preview.1 • Public • Published

Build Status

<gfs-carrier-icon>

The gfs-carrier-icon widget is used by the other widgets in the GFS Checkout collection, but is also available to use for display of carrier icons within your eCommerce website.

Install

# via bower
$ bower install --save gfs-carrier-icon

Usage

  1. Import Web Components' polyfill:
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
  1. Import Custom Element:
<link rel="import" href="bower_components/gfs-carrier-icon/gfs-carrier-icon.html">
  1. Start using it!
<gfs-carrier-icon
    carrier-name="dpd"
    icon-size="medium"
    country-code="GB">
</gfs-carrier-icon>

More info and all the available properties can be found at GFS widget portal

License

Apache License 2.0

Package Sidebar

Install

npm i @gfsdeliver/gfs-carrier-icon

Weekly Downloads

103

Version

2.0.0-preview.1

License

Apache-2.0

Unpacked Size

12.4 kB

Total Files

7

Last publish

Collaborators

  • gfsnpm