Update TypeScript typings with some Android-only options (#684)

Several Android-only options were missing from the TypeScript `Options` interface, causing compiler warnings in client codebases when used.
This commit is contained in:
Martin Richter 2018-04-23 15:36:36 +02:00 committed by Ivan Pusic
parent fe1423d124
commit 73b09e1486

5
index.d.ts vendored
View File

@ -7,8 +7,13 @@ declare module "react-native-image-crop-picker" {
path?: string;
includeBase64?: boolean;
includeExif?: boolean;
cropperActiveWidgetColor?: string;
cropperStatusBarColor?: string;
cropperToolbarColor?: string;
freeStyleCropEnabled?: boolean;
cropperTintColor?: string;
cropperCircleOverlay?: boolean;
disableCropperColorSetters?: boolean;
maxFiles?: number;
waitAnimationEnd?: boolean;
smartAlbums?: string[];