Credit card brands
Credit card brands is a simple project for ease of use credit card brands.
Installation
npm install credit-card-brands --save
Usage
import { CreditCardBrandsModule } from 'credit-card-brands';
import { AppComponent } from './app.component';
@NgModule({
imports: [BrowserModule, CreditCardBrandsModule],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule {
}<cc-brands width="32" brand="visa"></cc-brands>| Brands |
|---|
| visa |
| mastercard |
| elo |
| american-express |
| aura |
| hipercard |