Skip to content

Commit

Permalink
feat: support single page zoom
Browse files Browse the repository at this point in the history
Closes #9
  • Loading branch information
alpha0010 committed Jul 14, 2022
1 parent 9266620 commit c7c41ea
Show file tree
Hide file tree
Showing 6 changed files with 649 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Zoom/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"main": "../lib/commonjs/ZoomPdfView",
"module": "../lib/module/ZoomPdfView",
"react-native": "../src/ZoomPdfView",
"types": "../lib/typescript/ZoomPdfView.d.ts"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ios",
"cpp",
"react-native-pdf-light.podspec",
"Zoom",
"!lib/typescript/example",
"!android/build",
"!ios/build",
Expand Down
2 changes: 1 addition & 1 deletion src/PdfView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type PdfViewNativeProps = {
style?: ViewStyle;
};

type PdfViewProps = {
export type PdfViewProps = {
/**
* Path to annotation data.
*/
Expand Down
Loading

0 comments on commit c7c41ea

Please sign in to comment.