Skip to content

Commit

Permalink
Merge pull request #33434 from rezkiy37/feature/22998-connect-react-f…
Browse files Browse the repository at this point in the history
…ast-pdf

Connect react-fast-pdf
  • Loading branch information
mountiny authored Mar 25, 2024
2 parents b6d2c59 + 9fe4bdf commit 2a9d62f
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 438 deletions.
75 changes: 72 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"react-content-loader": "^7.0.0",
"react-dom": "18.1.0",
"react-error-boundary": "^4.0.11",
"react-fast-pdf": "^1.0.6",
"react-map-gl": "^7.1.3",
"react-native": "0.73.2",
"react-native-android-location-enabler": "^2.0.1",
Expand Down
7 changes: 0 additions & 7 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1851,13 +1851,6 @@ const CONST = {
MAX_INT_FOR_RANDOM_7_DIGIT_VALUE: 10000000,
IOS_KEYBOARD_SPACE_OFFSET: -30,

PDF_PASSWORD_FORM: {
// Constants for password-related error responses received from react-pdf.
REACT_PDF_PASSWORD_RESPONSES: {
NEED_PASSWORD: 1,
INCORRECT_PASSWORD: 2,
},
},
API_REQUEST_TYPE: {
READ: 'read',
WRITE: 'write',
Expand Down
132 changes: 0 additions & 132 deletions src/components/PDFView/WebPDFDocument.js

This file was deleted.

57 changes: 0 additions & 57 deletions src/components/PDFView/WebPDFPageRenderer.js

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/PDFView/constants.js

This file was deleted.

Loading

0 comments on commit 2a9d62f

Please sign in to comment.