refactor(card-io): allow number as type for guideColor (#2815)

* Change guide color to string|number type 

When the platform is Android, the cordova plugin wait for an Int value to set the guide color.

* Update index.ts
This commit is contained in:
Fabrício Júnio 2018-11-15 17:11:01 -02:00 committed by Daniel Sogl
parent 7145afa24f
commit 4f8779a969

View File

@ -60,7 +60,7 @@ export interface CardIOOptions {
/**
* Changes the color of the guide overlay on the camera. The color is provided in hexadecimal format (e.g. `#FFFFFF`)
*/
guideColor?: string;
guideColor?: string | number;
/**
* The user will not be prompted to confirm their card number after processing.