From be3e0ebfb8ff42a48211b55054325548cd304694 Mon Sep 17 00:00:00 2001 From: Felipe Constantino Date: Fri, 6 Apr 2018 16:15:11 -0300 Subject: [PATCH] feat(types): add types for #1441 --- types/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 7572ca328..51c608e72 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -45,6 +45,7 @@ export interface RNCameraProps { flashMode?: keyof FlashMode; notAuthorizedView?: JSX.Element; pendingAuthorizationView?: JSX.Element; + useCamera2Api?: boolean; onCameraReady?(): void; onMountError?(): void; @@ -83,12 +84,13 @@ export interface RNCameraProps { permissionDialogTitle?: string; /** Android only */ permissionDialogMessage?: string; + /** Android only */ + playSoundOnCapture?: boolean; // -- IOS ONLY PROPS /** iOS Only */ captureAudio?: boolean; - } interface Point {