From 7bda89e6ba9600c7da9a95a7fec9d90c29fa4e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E5=B9=B3=E5=85=AD?= Date: Thu, 29 Feb 2024 13:52:05 -0600 Subject: [PATCH] Update index.tsx types Update types for adobe embed api options to include all possible strings for embedMode --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 6c71b23..3073324 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -327,7 +327,7 @@ export type PreviewFileConfig = { /** Leave blank for default as FULL WINDOW MODE * https://documentservices.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf */ - embedMode: "LIGHT_BOX" | "SIZED_CONTAINER" | "IN_LINE" | string; + embedMode: "LIGHT_BOX" | "SIZED_CONTAINER" | "IN_LINE" | "FULL_WINDOW"; enableSearchAPIs: boolean; showDisabledSaveButton: boolean; /**