From 82bb535127bac28d4c0f3208885bc90e37d0c8bd Mon Sep 17 00:00:00 2001 From: alrouen Date: Sat, 9 Nov 2024 18:09:30 +0100 Subject: [PATCH] Export the useViewport hook This commit to allow the usage of useViewport hook from external project. This aims to allow pdf viewer behaviour from something else than human action on pdfreader control components. --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 3f9795a..6c922f0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ +export { useViewport } from "@/lib/viewport"; export * from "@/components";