Skip to content

Commit 82bb535

Browse files
authored
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.
1 parent 3408d3e commit 82bb535

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
export { useViewport } from "@/lib/viewport";
12
export * from "@/components";

0 commit comments

Comments
 (0)