mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
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:
parent
7145afa24f
commit
4f8779a969
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user