npm i --save nativescript-cardio
- Version: 0.0.1
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-cardio
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Installation
tns plugin add nativescript-cardio
Usage
import { CardIO } from 'nativescript-cardio';
const cardIO = new CardIO();
cardIO.show((card: Card) => {
/*
Card {
number: string;
expMonth: number;
expYear: number;
cvv: string;
image: ImageSource;
type: CardType;
name: string;
postalCode?: string;
android: any;
ios: any;
}
*/
});