From 87f2abc9204d6ed60390be2cadf8e1a7984b2b37 Mon Sep 17 00:00:00 2001 From: Justin Kaufman <57186+jkaufman@users.noreply.github.com> Date: Wed, 8 May 2024 10:31:26 -0600 Subject: [PATCH] docs: Update TakePhotoOptions default value comment (#2861) Flash is `undefined`, which resolves to 'off'. --- package/src/types/PhotoFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/src/types/PhotoFile.ts b/package/src/types/PhotoFile.ts index 0ada5c2cdd..8bfb06cb04 100644 --- a/package/src/types/PhotoFile.ts +++ b/package/src/types/PhotoFile.ts @@ -5,7 +5,7 @@ export interface TakePhotoOptions { /** * Whether the Flash should be enabled or disabled * - * @default "auto" + * @default "off" */ flash?: 'on' | 'off' | 'auto' /**