@digital-realty/ix-pricing
TypeScript icon, indicating that this package has built-in type declarations

2.1.7 • Public • Published

<ix-pricing>

This webcomponent follows the open-wc recommendation.

Installation

npm i @digital-realty/ix-pricing

Usage

<script type="module">
  import '@digital-realty/ix-pricing';
</script>

<ix-pricing></ix-pricing>

In React

<script type="module">
  import { IxPricing } from '@digital-realty/ix-pricing/IxPricing'
</script>

Demo and Documentation

Full documentation and demo are available at DLR Component Gallery.

Expected data format

Input data passed to the component in the 'products' property should be an array of product items.

Example format: (also see stories/princingData/productsGBP.json etc for example/test data)

[ { account_number: 'A0087994', product: { id: '503233', bandwidth: { unit: 'Mbps', value: 1000, }, connectivity_type: 'CloudAccess', name: 'Cloud Connect : Cloud Access - 1GE User Port - No Restriction', network_area_type: 'Metro', }, price_list: [ { amount: { unit: 'EUR', value: 0.0, }, frequency: 'Monthly', type: 'ServiceFee', }, { amount: { unit: 'EUR', value: 0.0, }, frequency: 'OneTime', type: 'SetUp', }, ], }, ]

Readme

Keywords

none

Package Sidebar

Install

npm i @digital-realty/ix-pricing

Weekly Downloads

0

Version

2.1.7

License

MIT

Unpacked Size

29.1 kB

Total Files

25

Last publish

Collaborators

  • margani
  • dlr-pi-devops
  • ibrahim-dr
  • marcha-dlr
  • nicholasnewlands