@hmcts/ccpay-web-component

Angular web component for displaying payments returned from ccpay api

Stats

StarsIssuesVersionUpdatedCreatedSize
@hmcts/ccpay-web-component
1244.0.1-beta187 hours ago3 years agoMinified + gzip package size for @hmcts/ccpay-web-component in KB

Readme

@hmcts/ccpay-web-component

This package contains web components ready to be used and imported by into Angular 6 projects.

How to install

  1. npm i @hmcts/ccpay-web-component
  2. Import the module into your angular application
    import {PaymentLibModule} from 'payment-lib';
    (...)
    imports: [
        (...) ,
        PaymentLibModule
      ]
    (...)
    
  3. Add the tag into your project and pass in the url to the backend api: <ccpay-payment-lib [API_ROOT]=“’http://localhost:1080'“></ccpay-payment-lib>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.