MCPcopy Index your code
hub / github.com/wonday/react-native-pdf / loadFile

Method loadFile

PdfManager.js:15–25  ·  view source on GitHub ↗
(path, password)

Source from the content-addressed store, hash-verified

13export default class PdfManager {
14
15 static loadFile(path, password) {
16 if (typeof path !== 'string') {
17 throw new TypeError('path must be a valid string.');
18 }
19
20 if (password === undefined) {
21 password = "";
22 }
23
24 return PdfManagerNative.loadFile(path, password);
25 }
26}

Callers 1

componentDidMountFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected