We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c7f37 commit b0d5e01Copy full SHA for b0d5e01
1 file changed
docs/docs/sponsor-only/migration.md
@@ -22,6 +22,18 @@ becomes
22
import { ... } from '@react-native-documents/picker'
23
```
24
25
+Also, if you previously used a default import like this:
26
+
27
+```ts
28
+import DocumentPicker from 'react-native-document-picker'
29
+```
30
31
+you should update it to use named imports for the methods you need (such as `pick`, `keepLocalCopy`, etc):
32
33
34
+import { pick, keepLocalCopy } from '@react-native-documents/picker'
35
36
37
2. remove `pickSingle`
38
39
Replace `pickSingle` with `pick`:
0 commit comments