From 73b09e1486d38b4effe0ffb80c320e5534088f11 Mon Sep 17 00:00:00 2001 From: Martin Richter Date: Mon, 23 Apr 2018 15:36:36 +0200 Subject: [PATCH] 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. --- index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.d.ts b/index.d.ts index 811093c..2040c2b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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[];