0.0.1 • Published 3 years ago
@mafpay/payment-components-angular v0.0.1
In your angular project install the dependecies for payments component:
npm install @mafpay/payment-components @mafpay/payment-components-angular --save
or if you use yarn
yarn add @mafpay/payment-components @mafpay/payment-components-angular
To configure the minimum styles add the following styles into angular.json
"styles": [
"./node_modules/@mafpay/payment-components/dist/mafpay/mafpay.css"
],
Next step is to import MAF Pay in an Angular module.
@NgModule({
imports: [
MafpayPaymentComponentsModule,
],
})
export class YourModule { }
All done! Now, MAF Pay components can be used by declaring them in the template <mafpay-card-holder-name></mafpay-card-holder-name>