Skip to content

Commit

Permalink
Export the useViewport hook
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alrouen authored Nov 9, 2024
1 parent 3408d3e commit 82bb535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { useViewport } from "@/lib/viewport";
export * from "@/components";

0 comments on commit 82bb535

Please sign in to comment.